@@ -1,11 +1,13 @@
|
||||
--- 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
|
||||
@@ -11,4 +11,10 @@
|
||||
default boolean addEntity(Entity entity) {
|
||||
return false;
|
||||
}
|
||||
+
|
||||
boolean setAir(BlockPosition blockposition);
|
||||
|
||||
void a(EnumSkyBlock enumskyblock, BlockPosition blockposition, int i);
|
||||
+ // CraftBukkit start
|
||||
+ default boolean addEntity(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason) {
|
||||
+ return false;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user