Commits

klugemonkey authored and md_5 committed 4b00823222b
Use SpawnReason.NATURAL for Phantom spawning
No tags

nms-patches/MobSpawnerPhantom.patch

Added
1 +--- a/net/minecraft/server/MobSpawnerPhantom.java
2 ++++ b/net/minecraft/server/MobSpawnerPhantom.java
3 +@@ -54,7 +54,7 @@
4 +
5 + entityphantom.setPositionRotation(blockposition1, 0.0F, 0.0F);
6 + groupdataentity = entityphantom.prepare(difficultydamagescaler, groupdataentity, (NBTTagCompound) null);
7 +- world.addEntity(entityphantom);
8 ++ world.addEntity(entityphantom, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.NATURAL); // CraftBukkit
9 + }
10 +
11 + i += k;

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut