mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 18:39:42 -05:00
Update CraftBukkit to Minecraft 1.4.7
This commit is contained in:
1 parent
315127782a
commit
e59af9908b
36 files changed
+83
-349
No files matched your search
@@ -344,7 +344,7 @@ public class PlayerInventory implements IInventory {
|
||||
for (int i = 0; i < nbttaglist.size(); ++i) {
|
||||
NBTTagCompound nbttagcompound = (NBTTagCompound) nbttaglist.get(i);
|
||||
int j = nbttagcompound.getByte("Slot") & 255;
|
||||
ItemStack itemstack = ItemStack.a(nbttagcompound);
|
||||
ItemStack itemstack = ItemStack.createStack(nbttagcompound);
|
||||
|
||||
if (itemstack != null) {
|
||||
if (j >= 0 && j < this.items.length) {
|
||||
|
||||
Reference in new issue
Block a user