From c4f7ad98e2870a91620bec37159cf3256a5937bc Mon Sep 17 00:00:00 2001 From: bconlon Date: Sat, 18 Jul 2020 22:07:48 -0700 Subject: [PATCH] Hammer of Notch no longer breaks blocks. --- .../projectile/EntityHammerProjectile.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/main/java/com/legacy/aether/entities/projectile/EntityHammerProjectile.java b/src/main/java/com/legacy/aether/entities/projectile/EntityHammerProjectile.java index 31e2c92..401e95e 100644 --- a/src/main/java/com/legacy/aether/entities/projectile/EntityHammerProjectile.java +++ b/src/main/java/com/legacy/aether/entities/projectile/EntityHammerProjectile.java @@ -51,24 +51,6 @@ public class EntityHammerProjectile extends EntityProjectileBase { } } - for (int l = (int) (this.posX - 3); l <= this.posX + 3; l++) { - for (int i1 = (int) (this.posY - 3); i1 <= this.posY + 3; i1++) { - for (int j1 = (int) (this.posZ - 3); j1 <= this.posZ + 3; j1++) { - if (this.worldObj.getBlock(l, i1, j1) instanceof BlockBush && this.getThrower() instanceof EntityPlayer) { - Block prevBlock = this.worldObj.getBlock(l, i1, j1); - - if (!this.harvestBlockBans.contains(prevBlock)) { - prevBlock.harvestBlock(this.getThrower().worldObj, (EntityPlayer) this.getThrower(), l, i1, j1, this.worldObj.getBlockMetadata(l, i1, j1)); - - prevBlock.removedByPlayer(this.getThrower().worldObj, (EntityPlayer) this.getThrower(), l, i1, j1); - } - - continue; - } - } - } - } - for (int j = 0; j < 8; j++) { this.worldObj.spawnParticle("explode", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D); this.worldObj.spawnParticle("explode", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D);