Skip to content

Commit

Permalink
revert automountain change in 0.5.0, it sucked
Browse files Browse the repository at this point in the history
Reverted this change
"-Made AutoMountain attempt to place the block beneath your feet every tick until it is placed when increasing placement delay. (Hopefully to help fix any block skipping)"
the stupid block check in viafabric on older servers causes it to not function as intended
  • Loading branch information
etianl authored Apr 8, 2023
1 parent 3894cd1 commit e0d0350
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ private void onPreTick(TickEvent.Pre event) {
else if (delayakick.get() && offLeft>offTime.get()){
offLeft=offTime.get();
}
if (delayLeft>0 || go==false){
if (delayLeft>0){
BlockPos pos = playerPos.add(new Vec3i(0,-1,0));
if (mc.world.getBlockState(pos).getMaterial().isReplaceable()) {
mc.interactionManager.interactBlock(mc.player, Hand.MAIN_HAND, new BlockHitResult(Vec3d.of(pos), Direction.DOWN, pos, false));
Expand Down

0 comments on commit e0d0350

Please sign in to comment.