geforkt von Mirrors/Paper
Use carried item for endermen's changed-block's id. Fixes BUKKIT-3075
Dieser Commit ist enthalten in:
Ursprung
0c16afd6e0
Commit
9bd02495df
@ -122,7 +122,7 @@ public class EntityEnderman extends EntityMonster {
|
||||
// CraftBukkit start - place event
|
||||
org.bukkit.block.Block bblock = this.world.getWorld().getBlockAt(i, j, k);
|
||||
|
||||
if (!CraftEventFactory.callEntityChangeBlockEvent(this, bblock, bblock.getType()).isCancelled()) {
|
||||
if (!CraftEventFactory.callEntityChangeBlockEvent(this, bblock, this.getCarriedId()).isCancelled()) {
|
||||
this.world.setTypeIdAndData(i, j, k, this.getCarriedId(), this.getCarriedData());
|
||||
this.setCarriedId(0);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren