diff options
Diffstat (limited to 'nms-patches/IWorldWriter.patch')
-rw-r--r-- | nms-patches/IWorldWriter.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nms-patches/IWorldWriter.patch b/nms-patches/IWorldWriter.patch new file mode 100644 index 00000000..2315ab9b --- /dev/null +++ b/nms-patches/IWorldWriter.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/server/IWorldWriter.java ++++ b/net/minecraft/server/IWorldWriter.java +@@ -6,6 +6,8 @@ + + boolean addEntity(Entity entity); + ++ boolean addEntity(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason); // CraftBukkit ++ + boolean setAir(BlockPosition blockposition); + + void a(EnumSkyBlock enumskyblock, BlockPosition blockposition, int i); |