fix DiscordNotifs + ChatTimestamp incompatibility

This commit is contained in:
Bella 2020-04-18 21:43:49 -04:00
parent 03fc9bb1a4
commit 4d5043639e
No known key found for this signature in database
GPG Key ID: DBD4A6030080C8B3
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class DiscordNotifs extends Module {
}
private String getTime() {
if (!time.getValue() || MODULE_MANAGER.isModuleEnabled(ChatTimestamp.class)) return "";
if (!time.getValue()) return "";
InfoOverlay info = MODULE_MANAGER.getModuleT(InfoOverlay.class);
return "[" + TimeUtil.getFinalTime(info.timeUnitSetting.getValue(), info.timeTypeSetting.getValue(), info.doLocale.getValue()) + "] ";
}