geforkt von Mirrors/Paper
Use SpawnReason.NATURAL for Phantom spawning
By: klugemonkey <klugemonkey@spawnchunk.com>
Dieser Commit ist enthalten in:
Ursprung
8b47bdcb5e
Commit
b69070bbe4
11
paper-server/nms-patches/MobSpawnerPhantom.patch
Normale Datei
11
paper-server/nms-patches/MobSpawnerPhantom.patch
Normale Datei
@ -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;
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren