Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
BedAura force place toggle notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna5ama committed Sep 13, 2023
1 parent d2854b6 commit c2d0d14
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import dev.luna5ama.trollhack.graphics.RenderUtils3D
import dev.luna5ama.trollhack.graphics.color.ColorRGB
import dev.luna5ama.trollhack.graphics.font.renderer.MainFontRenderer
import dev.luna5ama.trollhack.graphics.mask.EnumFacingMask
import dev.luna5ama.trollhack.gui.hudgui.elements.client.Notification
import dev.luna5ama.trollhack.manager.managers.CombatManager
import dev.luna5ama.trollhack.manager.managers.HotbarSwitchManager
import dev.luna5ama.trollhack.manager.managers.HotbarSwitchManager.ghostSwitch
Expand Down Expand Up @@ -179,7 +180,7 @@ internal object BedAura : Module(
private val forcePlaceBind by setting("Force Place Bind", Bind(), {
if (isEnabled && it) {
toggleForcePlace = !toggleForcePlace
NoSpamMessage.sendMessage("$chatName Force placing" + if (toggleForcePlace) " §aenabled" else " §cdisabled")
Notification.send(BedAura, "$chatName Force placing" + if (toggleForcePlace) " §aenabled" else " §cdisabled")
}
}, page.atValue(Page.FORCE_PLACE))
private val forcePlaceHealth by setting(
Expand Down

0 comments on commit c2d0d14

Please sign in to comment.