From 7f14d73fe244c1ebe6098ca3ae2efd06c6deea9c Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 24 May 2021 16:30:01 +0200 Subject: [PATCH] Update InfoCommand Signed-off-by: yoyosource --- BauSystem_Main/src/BauSystem.properties | 1 + .../src/de/steamwar/bausystem/features/bau/InfoCommand.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index ea4451e7..cb153beb 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -118,6 +118,7 @@ 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_COMMAND_FLAG = §e{0} §8: §7{1} +BAU-INFO_COMMAND_TPS = TPS:§e # Countingwand COUNTINGWAND_ITEM_NAME = §eZollstock 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 146b5057..921db9b1 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/bau/InfoCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/bau/InfoCommand.java @@ -63,7 +63,7 @@ public class InfoCommand extends SWCommand { p.sendMessage(membermessage.toString()); StringBuilder tpsMessage = new StringBuilder(); - tpsMessage.append(BauSystem.PREFIX).append("TPS:§e"); + tpsMessage.append(BauSystem.MESSAGE.parsePrefixed("BAU-INFO_COMMAND_TPS", p)); tpsMessage.append(" ").append(getTps(TPSWatcher.TPSType.ONE_SECOND)); tpsMessage.append(" ").append(getTps(TPSWatcher.TPSType.TEN_SECONDS)); if (!TPSWarpUtils.isWarping()) {