mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Removed unnecessary parenthesis
This commit is contained in:
parent
03782f18d5
commit
bde57a0bdf
@ -46,7 +46,7 @@ public class PlayerJSONResolver implements Resolver {
|
||||
public boolean canAccess(Request request) {
|
||||
WebUser user = request.getUser().orElse(new WebUser(""));
|
||||
if (user.hasPermission("page.player.other")) return true;
|
||||
if ((user.hasPermission("page.player.self"))) {
|
||||
if (user.hasPermission("page.player.self")) {
|
||||
try {
|
||||
UUID webUserUUID = identifiers.getPlayerUUID(user.getName());
|
||||
UUID playerUUID = identifiers.getPlayerUUID(request);
|
||||
|
Loading…
Reference in New Issue
Block a user