mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2026-01-04 15:31:48 +00:00
Register the whitelist command correctly, whoops
This commit is contained in:
@@ -143,7 +143,7 @@ public class WhitelistCommand implements FloodgateCommand {
|
||||
@Override
|
||||
public boolean shouldRegister(FloodgateConfig config) {
|
||||
// currently only Spigot (our only non-Proxy platform) has a whitelist build-in.
|
||||
return config instanceof ProxyFloodgateConfig;
|
||||
return !(config instanceof ProxyFloodgateConfig);
|
||||
}
|
||||
|
||||
@Getter
|
||||
|
||||
Reference in New Issue
Block a user