From 1bad7ab67df317a21813169bcdb285b42a7bf215 Mon Sep 17 00:00:00 2001 From: Ivan1F Date: Sat, 5 Feb 2022 23:14:23 +0800 Subject: [PATCH] formatting --- .../me/ivan/ivancarpetaddition/IvanCarpetAdditionServer.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/ivan/ivancarpetaddition/IvanCarpetAdditionServer.java b/src/main/java/me/ivan/ivancarpetaddition/IvanCarpetAdditionServer.java index f2c1dfd..287c666 100644 --- a/src/main/java/me/ivan/ivancarpetaddition/IvanCarpetAdditionServer.java +++ b/src/main/java/me/ivan/ivancarpetaddition/IvanCarpetAdditionServer.java @@ -17,7 +17,7 @@ public class IvanCarpetAdditionServer implements CarpetExtension { public static final String shortName = "ica"; public static final String name = IvanCarpetAdditionMod.getModId(); public static final String fancyName = "Ivan Carpet Addition"; - public static final String compactName = name.replace("-",""); // ivancarpetaddition + public static final String compactName = name.replace("-", ""); // ivancarpetaddition public static final Logger LOGGER = LogManager.getLogger(fancyName); public static MinecraftServer minecraftServer; @@ -43,8 +43,7 @@ public void onGameStarted() { CarpetServer.settingsManager.parseSettingsClass(IvanCarpetAdditionSettings.class); // set-up a snooper to observe how rules are changing in carpet - CarpetServer.settingsManager.addRuleObserver( (serverCommandSource, currentRuleState, originalUserTest) -> - { + CarpetServer.settingsManager.addRuleObserver((serverCommandSource, currentRuleState, originalUserTest) -> { // here we will be snooping for command changes }); }