From 39fdb56200d18756111cf3bb271c0a4f5adb82d8 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Mon, 10 Dec 2012 20:27:40 -0600 Subject: [PATCH] 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. --- src/main/java/net/minecraft/server/EntityPlayer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index 85efb807bf..35a679ad03 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) {