From 364267ae3c2997f2412cc9c6d33abb879fa73189 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 9 Apr 2021 20:36:34 +0200 Subject: [PATCH] Update CommandProtect message sending Add CommandInfo protect status --- .../src/de/steamwar/bausystem/commands/CommandInfo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandInfo.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandInfo.java index c8de3ad..b183140 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandInfo.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandInfo.java @@ -59,8 +59,7 @@ public class CommandInfo extends SWCommand { List members = BauweltMember.getMembers(BauSystem.getOwnerID()); StringBuilder membermessage = new StringBuilder().append(BauSystem.PREFIX).append("Mitglieder: "); - for ( - BauweltMember member : members) { + for (BauweltMember member : members) { membermessage.append("§e").append(SteamwarUser.get(member.getMemberID()).getUserName()).append("§8["); membermessage.append(member.isWorldEdit() ? "§a" : "§c").append("WE").append("§8,"); membermessage.append(member.isWorld() ? "§a" : "§c").append("W").append("§8]").append(" ");