mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 12:11:47 +01:00
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:
parent
3692209fe6
commit
39fdb56200
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue