geforkt von Mirrors/Paper
Reuse ItemInWorldManager, and stop applying ability changes. Fixes BUKKIT-1811
Dieser Commit ist enthalten in:
Ursprung
08740d7f91
Commit
cf9544c1d9
@ -107,10 +107,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
|||||||
this.setPosition(position.x + 0.5, position.y, position.z + 0.5);
|
this.setPosition(position.x + 0.5, position.y, position.z + 0.5);
|
||||||
}
|
}
|
||||||
this.dimension = ((WorldServer) this.world).dimension;
|
this.dimension = ((WorldServer) this.world).dimension;
|
||||||
int oldMode = itemInWorldManager.getGameMode();
|
this.itemInWorldManager.a((WorldServer) world);
|
||||||
this.itemInWorldManager = new ItemInWorldManager((WorldServer) world);
|
|
||||||
this.itemInWorldManager.player = this;
|
|
||||||
this.itemInWorldManager.setGameMode(oldMode);
|
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren