Missed a spot
This commit is contained in:
parent
99122d9587
commit
8a9d1d6ca7
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public class MonolithAggroGoal extends Goal {
|
|||
return;
|
||||
}
|
||||
|
||||
if (this.target != null && (this.target.getInventory().armor.get(0).getItem() == ModItems.WORLD_THREAD_HELMET && this.target.inventory.armor.get(1).getItem() == ModItems.WORLD_THREAD_CHESTPLATE && this.target.getInventory().armor.get(2).getItem() == ModItems.WORLD_THREAD_LEGGINGS && this.target.getInventory().armor.get(3).getItem() == ModItems.WORLD_THREAD_BOOTS)) {
|
||||
if (this.target != null && (this.target.getInventory().armor.get(0).getItem() == ModItems.WORLD_THREAD_HELMET && this.target.getInventory().armor.get(1).getItem() == ModItems.WORLD_THREAD_CHESTPLATE && this.target.getInventory().armor.get(2).getItem() == ModItems.WORLD_THREAD_LEGGINGS && this.target.getInventory().armor.get(3).getItem() == ModItems.WORLD_THREAD_BOOTS)) {
|
||||
Random random = new Random();
|
||||
int i = random.nextInt(64);
|
||||
if (this.target instanceof ServerPlayerEntity) {
|
||||
|
|
Loading…
Reference in a new issue