@@ -3,7 +3,7 @@
|
||||
@@ -74,7 +74,7 @@
|
||||
if (entityphantom != null) {
|
||||
entityphantom.moveTo(blockposition1, 0.0F, 0.0F);
|
||||
groupdataentity = entityphantom.finalizeSpawn(worldserver, difficultydamagescaler, EnumMobSpawn.NATURAL, groupdataentity);
|
||||
groupdataentity = entityphantom.finalizeSpawn(worldserver, difficultydamagescaler, EntitySpawnReason.NATURAL, groupdataentity);
|
||||
- worldserver.addFreshEntityWithPassengers(entityphantom);
|
||||
+ worldserver.addFreshEntityWithPassengers(entityphantom, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.NATURAL); // CraftBukkit
|
||||
++i;
|
||||
|
||||
Reference in New Issue
Block a user