@@ -8,12 +8,12 @@
|
||||
}
|
||||
|
||||
private boolean h() {
|
||||
@@ -148,7 +149,7 @@
|
||||
}
|
||||
@@ -132,7 +133,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
private void a(Entity entity) {
|
||||
- if (this.a().addEntity(entity)) {
|
||||
+ if (this.a().addEntity(entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.SPAWNER)) { // CraftBukkit
|
||||
Iterator iterator = entity.getPassengers().iterator();
|
||||
|
||||
while (iterator.hasNext()) {
|
||||
- if (!worldserver.addAllEntitiesSafely(entity)) {
|
||||
+ if (!worldserver.addAllEntitiesSafely(entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.SPAWNER)) { // CraftBukkit
|
||||
this.i();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user