mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Work around message bug when parsing two consecutive color codes
This commit is contained in:
parent
322b522a52
commit
dfb1b8f841
@ -43,9 +43,9 @@ public enum Message {
|
||||
/*
|
||||
* General & Commands
|
||||
*/
|
||||
PREFIX("&7&l[&b&lL&3&lP&7&l] &c", false),
|
||||
PREFIX("&7&l[&b&lL&3&lP&7&l] ", false),
|
||||
|
||||
EMPTY("{}", true),
|
||||
EMPTY("&c{}", true),
|
||||
PLAYER_ONLINE("&aOnline", false),
|
||||
PLAYER_OFFLINE("&cOffline", false),
|
||||
LOADING_ERROR("&cPermissions data could not be loaded. Please try again later.", true),
|
||||
|
@ -74,7 +74,6 @@ public class LoginHelper {
|
||||
plugin.getStorage().noBuffer().loadUser(cache.getUUID(u), username).join();
|
||||
User user = plugin.getUserManager().getIfLoaded(cache.getUUID(u));
|
||||
if (user == null) {
|
||||
plugin.getLog().warn("Failed to load user: " + username);
|
||||
throw new RuntimeException("Failed to load user");
|
||||
} else {
|
||||
// Setup defaults for the user
|
||||
|
Loading…
Reference in New Issue
Block a user