mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fixed gaping huge security flaw.
This commit is contained in:
parent
9e6a2ccf4d
commit
23c9a66c80
@ -40,7 +40,7 @@ public class DinnerPermsResolver implements PermissionsResolver {
|
||||
}
|
||||
|
||||
public boolean hasPermission(String name, String permission) {
|
||||
Player player = server.getPlayer(name);
|
||||
Player player = server.getPlayerExact(name);
|
||||
if (player == null) {
|
||||
return false; // Permissions are only registered for online players
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user