Skip to content

Commit

Permalink
replace leading underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Jul 15, 2024
1 parent 8858fb8 commit c35886c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public boolean checkOpLevel(UUID playerId, int $) {
}

@Override
public TriState checkPermission(UUID playerId, String _key, boolean explicit) {
var key = _key.endsWith(".*") ? _key.substring(0, _key.length() - 1) : _key;
public TriState checkPermission(UUID playerId, String key0, boolean explicit) {
var key = key0.endsWith(".*") ? key0.substring(0, key0.length() - 1) : key0;
var player = banMod.getServer().getPlayer(playerId);
if (player == null)
return TriState.NOT_SET;
Expand Down

0 comments on commit c35886c

Please sign in to comment.