@@ -22,7 +22,7 @@
|
||||
return;
|
||||
}
|
||||
@@ -205,13 +212,16 @@
|
||||
if (!this.world.b_(this.center)) {
|
||||
if (!this.world.a_(this.center)) {
|
||||
if (this.groupsSpawned > 0) {
|
||||
this.status = Raid.Status.LOSS;
|
||||
+ org.bukkit.craftbukkit.event.CraftEventFactory.callRaidFinishEvent(this, new java.util.ArrayList<>()); // CraftBukkit
|
||||
@@ -116,9 +116,9 @@
|
||||
@@ -511,7 +534,7 @@
|
||||
entityraider.prepare(this.world, this.world.getDamageScaler(blockposition), EnumMobSpawn.EVENT, (GroupDataEntity) null, (NBTTagCompound) null);
|
||||
entityraider.a(i, false);
|
||||
entityraider.c(true);
|
||||
- this.world.addEntity(entityraider);
|
||||
+ this.world.addEntity(entityraider, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.RAID); // CraftBukkit
|
||||
entityraider.setOnGround(true);
|
||||
- this.world.addAllEntities(entityraider);
|
||||
+ this.world.addAllEntities(entityraider, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.RAID); // CraftBukkit
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user