remove contains position check for crystalaura render effect

This commit is contained in:
noil 2019-11-06 18:16:45 -05:00
parent 8416e2c490
commit 24e59509ea
1 changed files with 1 additions and 3 deletions

View File

@ -120,9 +120,7 @@ public final class CrystalAuraModule extends Module {
final float[] angle = MathUtil.calcAngle(mc.player.getPositionEyes(mc.getRenderPartialTicks()), new Vec3d(pos.getX() + 0.5f, pos.getY() + 0.5f, pos.getZ() + 0.5f));
Seppuku.INSTANCE.getRotationManager().setPlayerRotations(angle[0], angle[1]);
mc.player.connection.sendPacket(new CPacketPlayerTryUseItemOnBlock(pos, EnumFacing.UP, EnumHand.MAIN_HAND, 0, 0, 0));
if (!this.placeLocations.contains(pos)) {
this.placeLocations.add(new PlaceLocation(pos.getX(), pos.getY(), pos.getZ()));
}
this.placeLocations.add(new PlaceLocation(pos.getX(), pos.getY(), pos.getZ()));
}
this.placeTimer.reset();
}