From 102bbea11e7a00bffd2438e67b65cfc563706a32 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 29 Jul 2022 23:25:16 +0200 Subject: [PATCH] Update TechHiderCommand Signed-off-by: yoyosource --- .../bausystem/features/techhider/TechHiderCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/techhider/TechHiderCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/techhider/TechHiderCommand.java index 46e3c33d..6a9e08bb 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/techhider/TechHiderCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/techhider/TechHiderCommand.java @@ -86,10 +86,10 @@ public class TechHiderCommand extends SWCommand implements Listener { if (hidden.get(region).contains(player)) { hidden.get(region).remove(player); - BauSystem.MESSAGE.send("TECHHIDER_OFF", player, ChatMessageType.ACTION_BAR); + BauSystem.MESSAGE.sendPrefixless("TECHHIDER_OFF", player, ChatMessageType.ACTION_BAR); } else { hidden.get(region).add(player); - BauSystem.MESSAGE.send("TECHHIDER_ON", player, ChatMessageType.ACTION_BAR); + BauSystem.MESSAGE.sendPrefixless("TECHHIDER_ON", player, ChatMessageType.ACTION_BAR); } region.forEachChunk((x, z) -> { CraftbukkitWrapper.impl.sendChunk(player, x, z);