Merge pull request #2 from GlowskiBroski/master

oopsies i made a bug
This commit is contained in:
Ridan Vandenbergh 2018-08-07 21:16:31 +02:00 committed by GitHub
commit 9ae694342f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,10 +130,8 @@ public class CrystalAura extends Module {
if (result == null || result.sideHit == null) f = EnumFacing.UP;
else f = result.sideHit;
//Small delay
if (((System.nanoTime() / 1000000) - systemTime) >= 10) {
mc.playerController.processRightClickBlock(mc.player, mc.world, q, f, new Vec3d(0, 0, 0), EnumHand.MAIN_HAND);
systemTime = System.nanoTime() / 1000000;
}
//mc.playerController.processRightClickBlock(mc.player, mc.world, q, f, new Vec3d(0, 0, 0), EnumHand.MAIN_HAND);
mc.player.connection.sendPacket(new CPacketPlayerTryUseItemOnBlock(q, f, offhand ? EnumHand.OFF_HAND : EnumHand.MAIN_HAND, 0, 0, 0));
}
//this sends a constant packet flow for default packets
if (isSpoofingAngles) {