Skip to content

Commit

Permalink
Fix for UHCDay enabling even if sat to false after a restart.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fido2603 committed Jul 25, 2019
1 parent b0ea733 commit 48b3ad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/dk/fido2603/semihardcore/SemiHardcore.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public void logDebug(String message)
{
if (this.debug)
{
plugin.getLogger().info(message);
plugin.getLogger().info("[Debug] " + message);
}
}

Expand All @@ -227,7 +227,7 @@ public void loadSettings()

this.uhcDayEnabled = config.getBoolean("Misc.UHCDayEnabled", false);
this.uhcDay = config.getInt("Misc.UHCDay", 2);
this.uhcDayEnabled = config.getBoolean("Misc.PlaySounds", true);
this.playSoundEnabled = config.getBoolean("Misc.PlaySounds", true);
this.uhcStartSound = config.getString("Misc.Sound_UHCStart", "entity.ender_dragon.growl");
this.uhcEndSound = config.getString("Misc.Sound_UHCEnd", "entity.wither.spawn");

Expand Down

0 comments on commit 48b3ad1

Please sign in to comment.