summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-03-08 21:52:17 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-03-08 21:52:17 +0000
commitcdcb9475325e0aec73ffc0138ef7110231b9eec9 (patch)
tree0a01715983ae4dcaaa5859bbed87e362d19cc2a7 /src
parent7de9091036f099011d6843ce1ccbbcbf3e7dbf53 (diff)
downloadcraftbukkit-cdcb9475325e0aec73ffc0138ef7110231b9eec9.tar
craftbukkit-cdcb9475325e0aec73ffc0138ef7110231b9eec9.tar.gz
craftbukkit-cdcb9475325e0aec73ffc0138ef7110231b9eec9.tar.lz
craftbukkit-cdcb9475325e0aec73ffc0138ef7110231b9eec9.tar.xz
craftbukkit-cdcb9475325e0aec73ffc0138ef7110231b9eec9.zip
Fixed the fix of the inventory dupe bug
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/EntityPlayer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
index 28756e98..cef0981e 100644
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
@@ -101,7 +101,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
for (int i = 0; i < inventory.b.length; ++i) {
if (inventory.b[i] != null) {
loot.add(new CraftItemStack(inventory.b[i]));
- inventory.a[i] = null;
+ inventory.b[i] = null;
}
}