mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 05:25:42 +01:00
Fixed endermen not loading carried-data properly
This commit is contained in:
parent
2ae6b431b3
commit
2d1d86b77e
@ -31,7 +31,7 @@ public class EntityEnderman extends EntityMonster {
|
|||||||
public void b(NBTTagCompound nbttagcompound) {
|
public void b(NBTTagCompound nbttagcompound) {
|
||||||
super.b(nbttagcompound);
|
super.b(nbttagcompound);
|
||||||
nbttagcompound.a("carried", (short) this.getCarriedId());
|
nbttagcompound.a("carried", (short) this.getCarriedId());
|
||||||
nbttagcompound.a("carriedData", (short) this.getCarriedData());
|
nbttagcompound.a("carryingData", (short) this.getCarriedData()); // Craftbukkit - fixed from carriedData
|
||||||
}
|
}
|
||||||
|
|
||||||
public void a(NBTTagCompound nbttagcompound) {
|
public void a(NBTTagCompound nbttagcompound) {
|
||||||
|
Loading…
Reference in New Issue
Block a user