mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
Added SpawnReason.SLIME_SPLIT, Fixes BUKKIT-790
This commit is contained in:
parent
1dcb39074d
commit
e17d3ece00
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ public class EntitySlime extends EntityLiving implements IMonster {
|
|||
|
||||
entityslime.setSize(i / 2);
|
||||
entityslime.setPositionRotation(this.locX + (double) f, this.locY + 0.5D, this.locZ + (double) f1, this.random.nextFloat() * 360.0F, 0.0F);
|
||||
this.world.addEntity(entityslime);
|
||||
this.world.addEntity(entityslime, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.SLIME_SPLIT); // CraftBukkit - SpawnReason
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue