@@ -1,9 +1,9 @@
|
||||
--- a/net/minecraft/server/ItemArmorStand.java
|
||||
+++ b/net/minecraft/server/ItemArmorStand.java
|
||||
@@ -40,6 +40,11 @@
|
||||
@@ -41,6 +41,11 @@
|
||||
entityarmorstand.setPositionRotation(d0 + 0.5D, d1, d2 + 0.5D, f, 0.0F);
|
||||
this.a(entityarmorstand, world.random);
|
||||
EntityTypes.a(world, itemactioncontext.getEntity(), entityarmorstand, itemstack.getTag());
|
||||
EntityTypes.a(world, itemactioncontext.getEntity(), (Entity) entityarmorstand, itemstack.getTag());
|
||||
+ // CraftBukkit start
|
||||
+ if (org.bukkit.craftbukkit.event.CraftEventFactory.callEntityPlaceEvent(itemactioncontext, entityarmorstand).isCancelled()) {
|
||||
+ return EnumInteractionResult.FAIL;
|
||||
|
||||
Reference in New Issue
Block a user