Skip to content

Commit

Permalink
Merge pull request #52 from Andi6969/master
Browse files Browse the repository at this point in the history
Ændre forbogstav ved server widget til stort og ændret default værdi af FormatingUtils.FORMATTING_MODE til Punktum
  • Loading branch information
TFSMads authored Aug 10, 2024
2 parents cac7888 + 6520c52 commit 956153b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ public void run() {

private void registerModules() {
ServerModule instance = ModuleManager.getInstance().getModule(ServerModule.class);
ModuleSystem.registerModule("server", "Server", false, GuiModulesModule.getModuleRegistry().getOtherCategory(), Material.PAPER, s -> instance.isFeatureActive ? instance.currentServer == null ? "Opdatere!" : instance.currentServer : "Server Tracker featuren er ikke aktiv!");
ModuleSystem.registerModule("server", "Server", false, GuiModulesModule.getModuleRegistry().getOtherCategory(), Material.PAPER, s -> instance.isFeatureActive ? instance.currentServer == null ? "Opdatere!" : instance.currentServer.substring(0, 1).toUpperCase() + currentServer.substring(1) : "Server Tracker featuren er ikke aktiv!");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

public class FormatingUtils {

public static FORMATTING_MODE formattingMode = FORMATTING_MODE.ENDELSE;
public static FORMATTING_MODE formattingMode = FORMATTING_MODE.PUNKTUM;
private static final NavigableMap<Long, String> suffixes = new TreeMap();

public FormatingUtils() {
Expand Down

0 comments on commit 956153b

Please sign in to comment.