mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-18 00:25:39 +01:00
12 lines
776 B
Diff
12 lines
776 B
Diff
--- a/net/minecraft/server/MobSpawnerPhantom.java
|
|
+++ b/net/minecraft/server/MobSpawnerPhantom.java
|
|
@@ -56,7 +56,7 @@
|
|
|
|
entityphantom.setPositionRotation(blockposition1, 0.0F, 0.0F);
|
|
groupdataentity = entityphantom.prepare(worldserver, difficultydamagescaler, EnumMobSpawn.NATURAL, groupdataentity, (NBTTagCompound) null);
|
|
- worldserver.addEntity(entityphantom);
|
|
+ worldserver.addEntity(entityphantom, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.NATURAL); // CraftBukkit
|
|
}
|
|
|
|
i += k;
|