Update to Minecraft Server 1.2

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot
2011-01-14 13:31:10 +00:00
parent ff4b91655a
commit c695452813
6 changed files with 12 additions and 12 deletions

View File

@@ -36,7 +36,7 @@ public class CraftItemStack extends ItemStack {
item = null;
} else {
if (item == null) {
item = new net.minecraft.server.ItemStack(type);
item = new net.minecraft.server.ItemStack(type, 1, 0);
super.setAmount(1);
} else {
item.c = type;