Skip to content

Commit

Permalink
Fixed "$watermark reset" not saving the watermark
Browse files Browse the repository at this point in the history
  • Loading branch information
BleachDev committed Nov 2, 2021
1 parent 3c3d13e commit 1e1d85c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ public void onCommand(String alias, String[] args) throws Exception {
if (args[0].equalsIgnoreCase("reset")) {
if (args.length == 1) {
BleachHack.watermark.reset(true, true);
saveText();
saveColor();

BleachLogger.info("Reset the watermark text and colors!");
} else if (args[1].equalsIgnoreCase("color")) {
BleachHack.watermark.reset(false, true);
Expand Down

0 comments on commit 1e1d85c

Please sign in to comment.