2
0
mirror of https://github.com/PaperMC/Paper.git synced 2024-12-15 07:01:36 +08:00
Paper/nms-patches/IWorldWriter.patch
2018-07-15 10:00:00 +10:00

12 lines
396 B
Diff

--- 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);