Paper/nms-patches/IWorldWriter.patch

12 lines
396 B
Diff
Raw Normal View History

2018-07-15 02:00:00 +02:00
--- 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);