Fix disable only placing 1 block in NoCrystal

This commit is contained in:
jvyden420 2019-12-03 17:27:03 -05:00
parent 76239b731c
commit 0ba5126681
1 changed files with 3 additions and 5 deletions

View File

@ -119,6 +119,9 @@ public final class NoCrystalModule extends Module {
place(west, EnumFacing.EAST);
}
placeIndex = 0;
if (this.disable.getValue()) {
this.toggle();
}
break;
}
this.placeTimer.reset();
@ -128,11 +131,6 @@ public final class NoCrystalModule extends Module {
mc.player.inventory.currentItem = lastSlot;
}
mc.playerController.updateController();
if (this.disable.getValue()) {
this.toggle();
}
}
}
}