2021-03-16 09:00:00 +11:00
|
|
|
--- a/net/minecraft/world/level/levelgen/MobSpawnerPhantom.java
|
|
|
|
+++ b/net/minecraft/world/level/levelgen/MobSpawnerPhantom.java
|
2022-12-08 03:00:00 +11:00
|
|
|
@@ -76,7 +76,7 @@
|
|
|
|
if (entityphantom != null) {
|
|
|
|
entityphantom.moveTo(blockposition1, 0.0F, 0.0F);
|
|
|
|
groupdataentity = entityphantom.finalizeSpawn(worldserver, difficultydamagescaler, EnumMobSpawn.NATURAL, groupdataentity, (NBTTagCompound) null);
|
|
|
|
- worldserver.addFreshEntityWithPassengers(entityphantom);
|
|
|
|
+ worldserver.addFreshEntityWithPassengers(entityphantom, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.NATURAL); // CraftBukkit
|
|
|
|
++i;
|
|
|
|
}
|
2018-07-27 19:33:36 +10:00
|
|
|
}
|