diff options
author | feildmaster <admin@feildmaster.com> | 2012-12-10 20:27:40 -0600 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-12-10 20:27:40 -0600 |
commit | 39fdb56200d18756111cf3bb271c0a4f5adb82d8 (patch) | |
tree | e33578c1543559917f8db703e8ebae99b063be7b | |
parent | 3692209fe6172018d96b57b409ff8bae6475886d (diff) | |
download | craftbukkit-39fdb56200d18756111cf3bb271c0a4f5adb82d8.tar craftbukkit-39fdb56200d18756111cf3bb271c0a4f5adb82d8.tar.gz craftbukkit-39fdb56200d18756111cf3bb271c0a4f5adb82d8.tar.lz craftbukkit-39fdb56200d18756111cf3bb271c0a4f5adb82d8.tar.xz craftbukkit-39fdb56200d18756111cf3bb271c0a4f5adb82d8.zip |
Players should be able to pick up items by default. Fixes BUKKIT-3143
As an added feature, players defaulted to being able to not pick up items if the flag was false. However, since minecraft doesn't normally use the flag on players, the flag was always false.
-rw-r--r-- | src/main/java/net/minecraft/server/EntityPlayer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index 85efb807..35a679ad 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -74,6 +74,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting { this.height = 0.0F; this.displayName = this.name; // CraftBukkit this.listName = this.name; // CraftBukkit + this.canPickUpLoot = true; // CraftBukkit } public void a(NBTTagCompound nbttagcompound) { |