From 5e865093ec75bd1837bd57ddbf438dd881dc0654 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 16 May 2024 18:39:06 +0200 Subject: [PATCH] Fix FreezeListener --- src/de/steamwar/teamserver/listener/FreezeListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/teamserver/listener/FreezeListener.java b/src/de/steamwar/teamserver/listener/FreezeListener.java index beea435..5bcb4fe 100644 --- a/src/de/steamwar/teamserver/listener/FreezeListener.java +++ b/src/de/steamwar/teamserver/listener/FreezeListener.java @@ -46,7 +46,7 @@ public class FreezeListener implements Listener { Bukkit.getScheduler().runTaskTimer(Builder.getInstance(), () -> { if (!freeze) return; Bukkit.getOnlinePlayers().forEach(player -> { - Builder.MESSAGE.send("REGION_FREEZE_ENABLED", player, ChatMessageType.ACTION_BAR); + Builder.MESSAGE.sendPrefixless("REGION_FREEZE_ENABLED", player, ChatMessageType.ACTION_BAR); }); }, 1, 1); }