--- a/net/minecraft/server/level/RegionLimitedWorldAccess.java +++ b/net/minecraft/server/level/RegionLimitedWorldAccess.java @@ -308,6 +308,13 @@ @Override public boolean addEntity(Entity entity) { + // CraftBukkit start + return addEntity(entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.DEFAULT); + } + + @Override + public boolean addEntity(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason) { + // CraftBukkit end int i = SectionPosition.a(entity.cW()); int j = SectionPosition.a(entity.dc());