constants do not need getters

This commit is contained in:
Luck
2017-01-12 21:14:27 +00:00
Unverified
parent 0fe251b6ec
commit 2b96b656a9
15 changed files with 74 additions and 84 deletions
@@ -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")