From 206400011a6732358f8018b5365315dfccd5eafb Mon Sep 17 00:00:00 2001 From: orang3i Date: Wed, 26 Mar 2025 03:05:00 +1100 Subject: [PATCH] #1537: Use CreatureSpawnEvent.SpawnReason.BUCKET when creature spawns from mob bucket --- nms-patches/net/minecraft/world/item/MobBucketItem.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/net/minecraft/world/item/MobBucketItem.patch b/nms-patches/net/minecraft/world/item/MobBucketItem.patch index b7dd4604d..ecc467a80 100644 --- a/nms-patches/net/minecraft/world/item/MobBucketItem.patch +++ b/nms-patches/net/minecraft/world/item/MobBucketItem.patch @@ -16,7 +16,7 @@ if (entityinsentient != null) { - worldserver.addFreshEntityWithPassengers(entityinsentient); -+ worldserver.addFreshEntityWithPassengers(entityinsentient, CreatureSpawnEvent.SpawnReason.SPAWNER_EGG); // CraftBukkit ++ worldserver.addFreshEntityWithPassengers(entityinsentient, CreatureSpawnEvent.SpawnReason.BUCKET); // CraftBukkit entityinsentient.playAmbientSound(); }