From 8da8f3b6ef7bdbd20c8b001954d25152bd697547 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 13 Nov 2021 19:49:04 +0100 Subject: [PATCH] Fix InfoCommand Signed-off-by: yoyosource --- BauSystem_Main/src/BauSystem.properties | 2 +- .../src/de/steamwar/bausystem/features/bau/InfoCommand.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index c6ef8d2f..64501c59 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -135,7 +135,7 @@ BAU-INFO_ITEM_LORE-PROTECT = §7Protect§8: §e{0} BAU-INFO_COMMAND_HELP = §8/§ebauinfo §8- §7Gibt Informationen über den Bau BAU-INFO_COMMAND_OWNER = §7Besitzer: §e{0} BAU-INFO_COMMAND_MEMBER = §7Mitglieder: §e -BAU-INFO_MEMBER_INFO = §e{0}§8[{1}§8,{1}§8] §8 +BAU-INFO_MEMBER_INFO = §e{0}§8[{1}§8,{2}§8] §8 BAU-INFO_MEMBER_WE_ALLOW = §aWE BAU-INFO_MEMBER_WE_DISALLOW = §cWE BAU-INFO_MEMBER_WORLD_ALLOW = §aW diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/bau/InfoCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/bau/InfoCommand.java index 1db0d16f..25fe55db 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/bau/InfoCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/bau/InfoCommand.java @@ -57,6 +57,7 @@ public class InfoCommand extends SWCommand { for (BauweltMember member : members) { membermessage.append(BauSystem.MESSAGE.parse("BAU-INFO_MEMBER_INFO", p, + SteamwarUser.get(member.getMemberID()).getUserName(), member.isWorldEdit() ? BauSystem.MESSAGE.parse("BAU-INFO_MEMBER_WE_ALLOW", p) : BauSystem.MESSAGE.parse("BAU-INFO_MEMBER_WE_DISALLOW", p), member.isWorld() ? BauSystem.MESSAGE.parse("BAU-INFO_MEMBER_WORLD_ALLOW", p) : BauSystem.MESSAGE.parse("BAU-INFO_MEMBER_WORLD_DISALLOW", p) ));