diff --git a/paper-server/nms-patches/net/minecraft/world/item/enchantment/effects/SummonEntityEffect.patch b/paper-server/nms-patches/net/minecraft/world/item/enchantment/effects/SummonEntityEffect.patch index 60e640d240..7243a83ea8 100644 --- a/paper-server/nms-patches/net/minecraft/world/item/enchantment/effects/SummonEntityEffect.patch +++ b/paper-server/nms-patches/net/minecraft/world/item/enchantment/effects/SummonEntityEffect.patch @@ -29,7 +29,7 @@ + // CraftBukkit start + worldserver.strikeLightning(entity1, (enchantediteminuse.itemStack().getItem() == Items.TRIDENT) ? LightningStrikeEvent.Cause.TRIDENT : LightningStrikeEvent.Cause.ENCHANTMENT); + } else { -+ worldserver.addFreshEntityWithPassengers(entity, CreatureSpawnEvent.SpawnReason.ENCHANTMENT); ++ worldserver.addFreshEntityWithPassengers(entity1, CreatureSpawnEvent.SpawnReason.ENCHANTMENT); + // CraftBukkit end }