mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-24 11:44:24 +00:00
constants do not need getters
This commit is contained in:
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")
|
||||
|
||||
Reference in new issue
Block a user