From 82d350f3eeace6cb9d7ba1c2876ab2dfd61f2876 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 19 Dec 2020 14:25:34 +0100 Subject: [PATCH] Test bundle clear Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/Message.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/de/steamwar/bungeecore/Message.java b/src/de/steamwar/bungeecore/Message.java index 1e5e0c0..0d533ab 100644 --- a/src/de/steamwar/bungeecore/Message.java +++ b/src/de/steamwar/bungeecore/Message.java @@ -35,6 +35,10 @@ import java.util.ResourceBundle; public class Message { private Message(){} + static{ + ResourceBundle.clearCache(); + } + public static TextComponent parseToComponent(String message, boolean prefixed, CommandSender sender, Object... params){ return new TextComponent(TextComponent.fromLegacyText(parse(message, prefixed, sender, params))); }