Update to 1.19

This commit is contained in:
MonkeySaint
2022-06-10 15:37:58 -04:00
committed by Cloudburst
parent f0b189634f
commit f8dd3787d1
35 changed files with 170 additions and 164 deletions

View File

@@ -47,7 +47,7 @@ public class BonemealAura extends Module {
isBonemealing = true;
Rotations.rotate(Rotations.getYaw(crop), Rotations.getPitch(crop), () -> {
InvUtils.swap(bonemeal.slot(), false);
mc.interactionManager.interactBlock(mc.player, mc.world, Hand.MAIN_HAND, new BlockHitResult(
mc.interactionManager.interactBlock(mc.player, Hand.MAIN_HAND, new BlockHitResult(
mc.player.getPos(), rayTraceCheck(crop), crop, true));
mc.player.swingHand(Hand.MAIN_HAND);
});