summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/MobSpawnerPhantom.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nms-patches/MobSpawnerPhantom.patch b/nms-patches/MobSpawnerPhantom.patch
new file mode 100644
index 00000000..4325b458
--- /dev/null
+++ b/nms-patches/MobSpawnerPhantom.patch
@@ -0,0 +1,11 @@
+--- a/net/minecraft/server/MobSpawnerPhantom.java
++++ b/net/minecraft/server/MobSpawnerPhantom.java
+@@ -54,7 +54,7 @@
+
+ entityphantom.setPositionRotation(blockposition1, 0.0F, 0.0F);
+ groupdataentity = entityphantom.prepare(difficultydamagescaler, groupdataentity, (NBTTagCompound) null);
+- world.addEntity(entityphantom);
++ world.addEntity(entityphantom, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.NATURAL); // CraftBukkit
+ }
+
+ i += k;