@@ -140,6 +140,15 @@
|
||||
}
|
||||
|
||||
public void a(int i, EntityRaider entityraider, @Nullable BlockPosition blockposition, boolean flag) {
|
||||
@@ -513,7 +536,7 @@
|
||||
entityraider.prepare(this.k, this.k.getDamageScaler(blockposition), EnumMobSpawn.EVENT, (GroupDataEntity) null, (NBTTagCompound) null);
|
||||
entityraider.a(i, false);
|
||||
entityraider.onGround = true;
|
||||
- this.k.addEntity(entityraider);
|
||||
+ this.k.addEntity(entityraider, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.RAID); // CraftBukkit
|
||||
}
|
||||
}
|
||||
|
||||
@@ -759,6 +782,12 @@
|
||||
this.h.add(entity.getUniqueID());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user