Bug fix and changes

This commit is contained in:
ShadowRanger
2015-06-23 13:31:26 +10:00
parent bc40e91215
commit 902def1dd7
19 changed files with 512 additions and 185 deletions

View File

@@ -180,7 +180,7 @@ public class SpecialPlayerInventory extends PlayerInventory {
}
@Override
public void setItem(int i, ItemStack itemstack) {
public void setItem(int i, ItemStack itemStack) {
ItemStack[] is = this.items;
if (i >= is.length) {
@@ -199,11 +199,11 @@ public class SpecialPlayerInventory extends PlayerInventory {
// Effects
if (is == this.extra) {
owner.getHandle().drop(itemstack, true);
itemstack = null;
owner.getHandle().drop(itemStack, true);
itemStack = null;
}
is[i] = itemstack;
is[i] = itemStack;
owner.getHandle().defaultContainer.b();
}