3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 12:30:06 +01:00
Paper/nms-patches/IWorldWriter.patch
2020-06-25 10:00:00 +10:00

14 Zeilen
383 B
Diff

--- a/net/minecraft/server/IWorldWriter.java
+++ b/net/minecraft/server/IWorldWriter.java
@@ -25,4 +25,10 @@
default boolean addEntity(Entity entity) {
return false;
}
+
+ // CraftBukkit start
+ default boolean addEntity(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason) {
+ return false;
+ }
+ // CraftBukkit end
}