mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
30e4583dbe
By: Initial Source <noreply+automated@papermc.io>
14 lines
401 B
Diff
14 lines
401 B
Diff
--- a/net/minecraft/world/level/LevelWriter.java
|
|
+++ b/net/minecraft/world/level/LevelWriter.java
|
|
@@ -28,4 +28,10 @@
|
|
default boolean addFreshEntity(Entity entity) {
|
|
return false;
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ default boolean addFreshEntity(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason) {
|
|
+ return false;
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|