Fixed an error & updated Bukkit

This commit is contained in:
ShadowRanger
2015-08-27 19:52:56 +10:00
parent cd405a9b9e
commit 8dbbe80dbf
3 changed files with 5 additions and 5 deletions

View File

@@ -140,7 +140,7 @@ public class SpecialPlayerInventory extends PlayerInventory {
is[i] = null;
return itemstack;
} else {
itemstack = is[i].a(j);
itemstack = is[i].cloneAndSubtract(j);
if (is[i].count == 0) {
is[i] = null;
}