diff options
author | bowser0000 <bowser0000@gmail.com> | 2022-04-28 02:22:49 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2022-04-28 02:22:49 -0400 |
commit | b7a2bc13f61a60c99ce460d08d7c89d06ee72a34 (patch) | |
tree | 72d2927c61ee8daabd9eba50eac95e681190e1c3 /src/main/java/me/Danker/gui/alerts/AlertActionGui.java | |
parent | 852777345060b09ab34945cff65a095aa8cb1aa9 (diff) | |
download | SkyblockMod-b7a2bc13f61a60c99ce460d08d7c89d06ee72a34.tar.gz SkyblockMod-b7a2bc13f61a60c99ce460d08d7c89d06ee72a34.tar.bz2 SkyblockMod-b7a2bc13f61a60c99ce460d08d7c89d06ee72a34.zip |
Add regex for alerts
Capture support using $$x$$ where x is a group number
Make util function for desktop notifications
Diffstat (limited to 'src/main/java/me/Danker/gui/alerts/AlertActionGui.java')
-rw-r--r-- | src/main/java/me/Danker/gui/alerts/AlertActionGui.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/gui/alerts/AlertActionGui.java b/src/main/java/me/Danker/gui/alerts/AlertActionGui.java index 7a73f5a..3d0eb90 100644 --- a/src/main/java/me/Danker/gui/alerts/AlertActionGui.java +++ b/src/main/java/me/Danker/gui/alerts/AlertActionGui.java @@ -80,12 +80,12 @@ public class AlertActionGui extends GuiScreen { mc.displayGuiScreen(new AlertAddGui(alert, id)); } else if (button == delete) { Alerts.alerts.remove(id); - Alerts.saveToFile(); + Alerts.save(); mc.displayGuiScreen(new AlertsGui(1)); return; } Alerts.alerts.set(id, alert); - Alerts.saveToFile(); + Alerts.save(); } } |