mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-10 20:59:54 +01:00
14 lines
383 B
Diff
14 lines
383 B
Diff
--- a/net/minecraft/server/IWorldWriter.java
|
|
+++ b/net/minecraft/server/IWorldWriter.java
|
|
@@ -17,4 +17,10 @@
|
|
default boolean addEntity(Entity entity) {
|
|
return false;
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ default boolean addEntity(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason) {
|
|
+ return false;
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|