diff options
Diffstat (limited to 'patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelWriter.java.patch')
-rw-r--r-- | patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelWriter.java.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelWriter.java.patch b/patch-remap/mache-spigotflower-stripped/net/minecraft/world/level/LevelWriter.java.patch new file mode 100644 index 0000000000..3008822ea1 --- /dev/null +++ b/patch-remap/mache-spigotflower-stripped/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 + } |