constants do not need getters

This commit is contained in:
Luck committed 2017-01-12 21:14:27 +00:00
1 parent 0fe251b6ec
commit 2b96b656a9
15 files changed
+74 -84

No files matched your search

@@ -44,7 +44,7 @@ public class SpongeSenderFactory extends SenderFactory<CommandSource> {
if (source instanceof Player) {
return source.getName();
}
return Constants.getConsoleName();
return Constants.CONSOLE_NAME;
}
@Override
@@ -52,7 +52,7 @@ public class SpongeSenderFactory extends SenderFactory<CommandSource> {
if (source instanceof Player) {
return ((Player) source).getUniqueId();
}
return Constants.getConsoleUUID();
return Constants.CONSOLE_UUID;
}
@SuppressWarnings("deprecation")