mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Filter out commands that the player doesn't have permissions for. Workaround for a Spigot issue.
This commit is contained in:
@ -183,7 +183,6 @@ public class FlagParser implements CommandExecutor<FlagData> {
|
||||
return (T) data.get(flag);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public T get(FlagData data, T fallback) {
|
||||
T value = get(data);
|
||||
if (value == null) {
|
||||
|
Reference in New Issue
Block a user