3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-22 14:28:09 +01:00
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-12-10 23:00:00 +01:00
@@ -17,4 +17,10 @@
2019-04-23 04:00:00 +02:00
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
}