mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
a0f2b74c8d
By: md_5 <git@md-5.net>
13 lines
383 B
Diff
13 lines
383 B
Diff
--- a/net/minecraft/server/IWorldWriter.java
|
|
+++ b/net/minecraft/server/IWorldWriter.java
|
|
@@ -11,4 +11,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
|
|
}
|