3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 13:00:06 +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.
Dieser Commit ist enthalten in:
feildmaster 2012-12-10 20:27:40 -06:00
Ursprung 3692209fe6
Commit 39fdb56200

Datei anzeigen

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