Archiviert
1
0

Test bundle clear

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-12-19 14:31:41 +01:00
Ursprung 3c4c10288f
Commit f431fa7147

Datei anzeigen

@ -35,10 +35,6 @@ import java.util.ResourceBundle;
public class Message { public class Message {
private Message(){} private Message(){}
static{
ResourceBundle.clearCache(ResourceBundle.getBundle("de.steamwar.messages.BungeeCore").getClass().getClassLoader());
}
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)));
} }