forked from RepoMirrors/kami-blue
fix DiscordNotifs + ChatTimestamp incompatibility
This commit is contained in:
parent
03fc9bb1a4
commit
4d5043639e
|
@ -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()) + "] ";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue