Skip to content

Commit

Permalink
offhand fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SomePineaple committed Mar 6, 2022
1 parent 0a5ea44 commit 92c3863
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void update() {
float hp = mc.player.getHealth() + mc.player.getAbsorptionAmount();

if (hp > totemSwitch.getValue(1)) {
if (switchMode.in("Crystal") && PineapleClient.getHackManager().getModuleWithTag("AutoCrystal").isActive()) {
if (switchMode.in("Crystal") && (PineapleClient.getHackManager().getModuleWithTag("AutoCrystal").isActive() || PineapleClient.getHackManager().getModuleWithTag("AutoCrystalRW").isActive())) {
swapItems(get_item_slot(Items.END_CRYSTAL),0);
return;
}
Expand Down

0 comments on commit 92c3863

Please sign in to comment.