Skip to content

Commit 187a2e3

Browse files
committed
clean
1 parent 1540096 commit 187a2e3

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/main/java/org/maxgamer/quickshop/util/MsgUtil.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@
6464

6565

6666
public class MsgUtil {
67-
private static final String invaildMsg = "Invaild message";
68-
6967
private static final Map<UUID, List<TransactionMessage>> outGoingPlayerMessages = Maps.newConcurrentMap();
7068
public static GameLanguage gameLanguage;
7169
private static DecimalFormat decimalFormat;
@@ -169,7 +167,7 @@ public static void loadGameLanguage(@NotNull String languageCode) {
169167
gameLanguage = ServiceInjector.getGameLanguage(new MojangGameLanguageImpl(plugin, languageCode));
170168
}
171169

172-
public static void loadI18nFile() throws InvalidConfigurationException {
170+
public static void loadI18nFile() {
173171
//Update instance
174172
plugin = QuickShop.getInstance();
175173
plugin.getLogger().info("Loading plugin translations files...");
@@ -385,7 +383,7 @@ public static void send(@NotNull Shop shop, @NotNull UUID player, @NotNull Trans
385383
}
386384
}
387385
}
388-
386+
// TODO: No hardcode
389387
/**
390388
* Send controlPanel infomation to sender
391389
*
@@ -753,9 +751,6 @@ public static String getPotioni18n(@NotNull PotionEffectType potion) {
753751
return Util.prettifyText(potionString);
754752
}
755753

756-
// public static JsonConfiguration getI18nFile() {
757-
// return messagei18n;
758-
// }
759754

760755
public static void debugStackTrace(StackTraceElement[] traces) {
761756
if (Util.isDisableDebugLogger()) {

0 commit comments

Comments
 (0)