Fix Permission code convention
Dieser Commit ist enthalten in:
Ursprung
4b1f15afc5
Commit
5e4538023a
@ -35,8 +35,9 @@ public enum Permission {
|
||||
private Predicate<BauweltMember> permissionPredicate;
|
||||
|
||||
public boolean hasPermission(Player member) {
|
||||
if (member.getUniqueId().equals(BauServer.getInstance().getOwner()))
|
||||
if (member.getUniqueId().equals(BauServer.getInstance().getOwner())) {
|
||||
return true;
|
||||
}
|
||||
|
||||
BauweltMember bauMember = BauweltMember.getBauMember(BauServer.getInstance().getOwner(), member.getUniqueId());
|
||||
if (bauMember == null) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren