Paper/nms-patches/IWorldWriter.patch

14 Zeilen
383 B
Diff

2018-07-15 02:00:00 +02:00
--- a/net/minecraft/server/IWorldWriter.java
+++ b/net/minecraft/server/IWorldWriter.java
2019-04-23 04:00:00 +02:00
@@ -11,4 +11,10 @@
default boolean addEntity(Entity entity) {
return false;
}
2018-07-15 02:00:00 +02:00
+
2019-04-23 04:00:00 +02:00
+ // CraftBukkit start
+ default boolean addEntity(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason) {
+ return false;
+ }
+ // CraftBukkit end
}