2018-07-27 11:33:36 +02:00
|
|
|
--- a/net/minecraft/server/MobSpawnerPhantom.java
|
|
|
|
+++ b/net/minecraft/server/MobSpawnerPhantom.java
|
2019-12-10 23:00:00 +01:00
|
|
|
@@ -56,7 +56,7 @@
|
2018-07-27 11:33:36 +02:00
|
|
|
|
|
|
|
entityphantom.setPositionRotation(blockposition1, 0.0F, 0.0F);
|
2019-04-23 04:00:00 +02:00
|
|
|
groupdataentity = entityphantom.prepare(worldserver, difficultydamagescaler, EnumMobSpawn.NATURAL, groupdataentity, (NBTTagCompound) null);
|
|
|
|
- worldserver.addEntity(entityphantom);
|
|
|
|
+ worldserver.addEntity(entityphantom, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.NATURAL); // CraftBukkit
|
2018-07-27 11:33:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
i += k;
|