Template
mirror of
https://github.com/LOOHP/Limbo.git
synced 2026-10-22 12:38:55 +00:00
Clean up whitelist changes
This commit is contained in:
@@ -432,29 +432,6 @@ public class Limbo {
|
||||
public ServerProperties getServerProperties() {
|
||||
return properties;
|
||||
}
|
||||
|
||||
public void reloadAllowlist() {
|
||||
properties.reloadAllowlist();
|
||||
}
|
||||
|
||||
public boolean uuidIsAllowed(UUID requestedUuid) {
|
||||
if (!properties.isEnforceAllowlist()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (properties.uuidIsAllowed(requestedUuid)) {
|
||||
if(!properties.isReducedDebugInfo()) {
|
||||
Limbo.getInstance().getConsole().sendMessage(String.format("allowlist: %s allowed", requestedUuid.toString()));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
if(!properties.isReducedDebugInfo()) {
|
||||
Limbo.getInstance().getConsole().sendMessage(String.format("allowlist: %s not allowed", requestedUuid.toString()));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public ServerConnection getServerConnection() {
|
||||
return server;
|
||||
|
||||
Reference in New Issue
Block a user