summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/InventoryEnderChest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/InventoryEnderChest.java')
-rw-r--r--src/main/java/net/minecraft/server/InventoryEnderChest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/InventoryEnderChest.java b/src/main/java/net/minecraft/server/InventoryEnderChest.java
index af7c748d..4e379cd7 100644
--- a/src/main/java/net/minecraft/server/InventoryEnderChest.java
+++ b/src/main/java/net/minecraft/server/InventoryEnderChest.java
@@ -64,7 +64,7 @@ public class InventoryEnderChest extends InventorySubcontainer {
int j = nbttagcompound.getByte("Slot") & 255;
if (j >= 0 && j < this.getSize()) {
- this.setItem(j, ItemStack.a(nbttagcompound));
+ this.setItem(j, ItemStack.createStack(nbttagcompound));
}
}
}