Dieser Commit ist enthalten in:
Ursprung
23f8e687ad
Commit
bd9e3e5d94
@ -41,6 +41,11 @@ public class Message {
|
|||||||
public long getTimeToLive(String arg0, Locale arg1) {
|
public long getTimeToLive(String arg0, Locale arg1) {
|
||||||
return 60000; //Cache only 1 minute
|
return 60000; //Cache only 1 minute
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean needsReload(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime) {
|
||||||
|
return System.currentTimeMillis() - loadTime > 60000; //Reload if older than 1 minute
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public static TextComponent parseToComponent(String message, boolean prefixed, CommandSender sender, Object... params){
|
public static TextComponent parseToComponent(String message, boolean prefixed, CommandSender sender, Object... params){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren