From 5e4538023a07281365837ba428a2bdcbba3032b6 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 17 Apr 2021 15:32:30 +0200 Subject: [PATCH] Fix Permission code convention --- BauSystem_Main/src/de/steamwar/bausystem/Permission.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/Permission.java b/BauSystem_Main/src/de/steamwar/bausystem/Permission.java index 48c026cd..271cfd49 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/Permission.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/Permission.java @@ -35,8 +35,9 @@ public enum Permission { private Predicate 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) {