mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-13 08:28:35 +00:00
Better legacy component support, removes SignListener (#81)
* Better legacy component support, removes SignListener * Removes unused imports
This commit is contained in:
@ -82,8 +82,8 @@ public class VaultHook
|
||||
if (vaultPrefix == null || vaultPrefix.isEmpty()) {
|
||||
return Component.empty();
|
||||
}
|
||||
PlexLog.debug("prefix: {0}", PlexUtils.legacyToMiniString(vaultPrefix).replace("<", "\\<"));
|
||||
return SafeMiniMessage.mmDeserializeWithoutEvents(PlexUtils.legacyToMiniString(vaultPrefix));
|
||||
PlexLog.debug("prefix: {0}", SafeMiniMessage.mmSerializeWithoutEvents(PlexUtils.stringToComponent(vaultPrefix)).replace("<", "\\<"));
|
||||
return PlexUtils.stringToComponent(vaultPrefix);
|
||||
}
|
||||
|
||||
public static Permission getPermission()
|
||||
|
Reference in New Issue
Block a user