aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/mache-vineflower-stripped/net/minecraft/world/level/LevelWriter.java.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/mache-vineflower-stripped/net/minecraft/world/level/LevelWriter.java.patch')
-rw-r--r--patch-remap/mache-vineflower-stripped/net/minecraft/world/level/LevelWriter.java.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patch-remap/mache-vineflower-stripped/net/minecraft/world/level/LevelWriter.java.patch b/patch-remap/mache-vineflower-stripped/net/minecraft/world/level/LevelWriter.java.patch
new file mode 100644
index 0000000000..0a28444cc3
--- /dev/null
+++ b/patch-remap/mache-vineflower-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
+@@ -27,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
+ }