summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-04-27 00:42:36 -0400
committerEvilSeph <evilseph@unaligned.org>2011-04-27 00:43:22 -0400
commitb054cfdda78d92687260dd169f33876c4f315e80 (patch)
treea47bc8795b3474d4c3fc5c5edf4b627b8897b173 /src/main/java
parentb075a58657b09e01d13c917ea8dbcdbaa712fd13 (diff)
downloadcraftbukkit-b054cfdda78d92687260dd169f33876c4f315e80.tar
craftbukkit-b054cfdda78d92687260dd169f33876c4f315e80.tar.gz
craftbukkit-b054cfdda78d92687260dd169f33876c4f315e80.tar.lz
craftbukkit-b054cfdda78d92687260dd169f33876c4f315e80.tar.xz
craftbukkit-b054cfdda78d92687260dd169f33876c4f315e80.zip
Fixed duping exploit.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/EntityPlayer.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
index bf8a065c..eb8d9d32 100644
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
@@ -123,6 +123,8 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
for (org.bukkit.inventory.ItemStack stack: event.getDrops()) {
cworld.dropItemNaturally(craftEntity.getLocation(), stack);
}
+
+ this.x();
// CraftBukkit end
}