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