Updated to Minecraft version 1.4

This commit is contained in:
Dinnerbone
2011-03-31 21:40:00 +01:00
parent 0635f7c1b8
commit 87c36febeb
84 changed files with 1024 additions and 793 deletions

View File

@@ -19,7 +19,7 @@ public class CraftInventory implements org.bukkit.inventory.Inventory {
}
public int getSize() {
return getInventory().m_();
return getInventory().q_();
}
public String getName() {
@@ -290,7 +290,7 @@ public class CraftInventory implements org.bukkit.inventory.Inventory {
}
private int getMaxItemStack() {
return getInventory().n_();
return getInventory().r_();
}
public void remove(int materialId) {

View File

@@ -20,6 +20,6 @@ public class CraftSlot implements org.bukkit.inventory.Slot {
}
public ItemStack getItem() {
return new CraftItemStack( slot.b() );
return new CraftItemStack( slot.a() );
}
}