2021-03-16 09:00:00 +11:00
|
|
|
--- a/net/minecraft/world/item/ItemEnderEye.java
|
|
|
|
+++ b/net/minecraft/world/item/ItemEnderEye.java
|
2024-10-23 02:15:00 +11:00
|
|
|
@@ -99,7 +99,11 @@
|
|
|
|
entityendersignal.setItem(itemstack);
|
|
|
|
entityendersignal.signalTo(blockposition);
|
|
|
|
world.gameEvent((Holder) GameEvent.PROJECTILE_SHOOT, entityendersignal.position(), GameEvent.a.of((Entity) entityhuman));
|
|
|
|
- world.addFreshEntity(entityendersignal);
|
|
|
|
+ // CraftBukkit start
|
|
|
|
+ if (!world.addFreshEntity(entityendersignal)) {
|
|
|
|
+ return EnumInteractionResult.FAIL;
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
|
|
|
if (entityhuman instanceof EntityPlayer) {
|
|
|
|
EntityPlayer entityplayer = (EntityPlayer) entityhuman;
|
2024-06-14 01:05:00 +10:00
|
|
|
|