SteamWar/BungeeCore
Archiviert
13
2

Test bundle clear

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-12-19 14:25:34 +01:00
Ursprung 31f325421a
Commit 82d350f3ee

Datei anzeigen

@ -35,6 +35,10 @@ import java.util.ResourceBundle;
public class Message { public class Message {
private Message(){} private Message(){}
static{
ResourceBundle.clearCache();
}
public static TextComponent parseToComponent(String message, boolean prefixed, CommandSender sender, Object... params){ public static TextComponent parseToComponent(String message, boolean prefixed, CommandSender sender, Object... params){
return new TextComponent(TextComponent.fromLegacyText(parse(message, prefixed, sender, params))); return new TextComponent(TextComponent.fromLegacyText(parse(message, prefixed, sender, params)));
} }