summaryrefslogtreecommitdiffstats
path: root/nms-patches/IWorldWriter.patch
blob: 2315ab9ba8325917dedd87db6328939a238c5d3f (plain)
1
2
3
4
5
6
7
8
9
10
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);