2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/server/level/RegionLimitedWorldAccess.java
|
|
|
|
+++ b/net/minecraft/server/level/RegionLimitedWorldAccess.java
|
2021-06-11 07:00:00 +02:00
|
|
|
@@ -308,6 +308,13 @@
|
2018-07-15 02:00:00 +02:00
|
|
|
|
2019-04-23 04:00:00 +02:00
|
|
|
@Override
|
2018-07-15 02:00:00 +02:00
|
|
|
public boolean addEntity(Entity entity) {
|
2019-04-23 04:00:00 +02:00
|
|
|
+ // CraftBukkit start
|
2018-07-15 02:00:00 +02:00
|
|
|
+ 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
|
2021-06-11 07:00:00 +02:00
|
|
|
int i = SectionPosition.a(entity.cW());
|
|
|
|
int j = SectionPosition.a(entity.dc());
|
2018-07-15 02:00:00 +02:00
|
|
|
|