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.
This commit is contained in:
feildmaster 2012-12-10 20:27:40 -06:00
parent 3692209fe6
commit 39fdb56200

View file

@ -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) {