mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Fixed endermen not loading carried-data properly
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user