Commits
ORANG3I authored and md_5 committed 206400011a6
9 9 | +// CraftBukkit end |
10 10 | + |
11 11 | public class MobBucketItem extends ItemBucket { |
12 12 | |
13 13 | private final EntityTypes<? extends EntityInsentient> type; |
14 14 | |
15 15 | } |
16 16 | |
17 17 | if (entityinsentient != null) { |
18 18 | - worldserver.addFreshEntityWithPassengers(entityinsentient); |
19 - | + worldserver.addFreshEntityWithPassengers(entityinsentient, CreatureSpawnEvent.SpawnReason.SPAWNER_EGG); // CraftBukkit |
19 + | + worldserver.addFreshEntityWithPassengers(entityinsentient, CreatureSpawnEvent.SpawnReason.BUCKET); // CraftBukkit |
20 20 | entityinsentient.playAmbientSound(); |
21 21 | } |
22 22 |