3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-27 00:22:46 +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
2020-06-25 02:00:00 +02:00
@@ -25,4 +25,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
}