From d8dbc1900b66e3fa7d9522122e87936dbf302221 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 22 Aug 2022 19:28:31 +0200 Subject: [PATCH] Auto hologram coloring --- src/de/steamwar/lobby/command/HologramCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/lobby/command/HologramCommand.java b/src/de/steamwar/lobby/command/HologramCommand.java index 4d101dc..bfcc6b7 100644 --- a/src/de/steamwar/lobby/command/HologramCommand.java +++ b/src/de/steamwar/lobby/command/HologramCommand.java @@ -43,7 +43,7 @@ public class HologramCommand extends SWCommand { public void portalCreate(Player player, String id, String... text) { if (PortalCommand.noPermissions(player)) return; - new Hologram(id, player.getLocation(), String.join(" ", text), false); + new Hologram(id, player.getLocation(), String.join(" ", text).replace("&", "ยง"), false); LobbySystem.config().save(); }