diff options
Diffstat (limited to 'paper-server/patches/unapplied/net/minecraft/world/level/LevelWriter.java.patch')
-rw-r--r-- | paper-server/patches/unapplied/net/minecraft/world/level/LevelWriter.java.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/paper-server/patches/unapplied/net/minecraft/world/level/LevelWriter.java.patch b/paper-server/patches/unapplied/net/minecraft/world/level/LevelWriter.java.patch new file mode 100644 index 0000000000..3008822ea1 --- /dev/null +++ b/paper-server/patches/unapplied/net/minecraft/world/level/LevelWriter.java.patch @@ -0,0 +1,13 @@ +--- a/net/minecraft/world/level/LevelWriter.java ++++ b/net/minecraft/world/level/LevelWriter.java +@@ -28,4 +28,10 @@ + default boolean addFreshEntity(Entity entity) { + return false; + } ++ ++ // CraftBukkit start ++ default boolean addFreshEntity(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason) { ++ return false; ++ } ++ // CraftBukkit end + } |