Skip to content

Commit

Permalink
0.3.0 Bugfix AutoMountain
Browse files Browse the repository at this point in the history
0.3.0
-Fix AutoMountain not unpausing without mountain building blocks in hand
sorry for not testing thoroughly before the last release
  • Loading branch information
etianl authored Jan 22, 2023
1 parent 856980f commit cb246fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ yarn_mappings=1.19.3+build.3
loader_version=0.14.11

# Mod Properties
mod_version=0.2.9-1.19.3
mod_version=0.3.0-1.19.3
maven_group=pwn.noobs
archives_base_name=trouser-streak

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ public void onDeactivate() {
@EventHandler
private void onMouseButton(MouseButtonEvent event) {
if (mc.options.useKey.isPressed()){
pause = pause ? false : true;
mc.player.setPos(mc.player.getX(),mc.player.getY()+0.2,mc.player.getZ());//this line here prevents you dying for realz
mc.player.setVelocity(0,0.1,0);//this line here prevents you dying for realz
Modules.get().get(Timer.class).setOverride(Timer.OFF);
Expand All @@ -342,7 +343,6 @@ private void onMouseButton(MouseButtonEvent event) {
if (mc.world.getBlockState(pos).getMaterial().isReplaceable()) {
mc.interactionManager.interactBlock(mc.player, Hand.MAIN_HAND, new BlockHitResult(Vec3d.of(pos), Direction.DOWN, pos, false));
mc.player.swingHand(Hand.MAIN_HAND);}
pause = pause ? false : true;
}
}
@EventHandler
Expand Down

0 comments on commit cb246fe

Please sign in to comment.