minimessage conversion

This commit is contained in:
Jake Potrebic
2022-06-09 14:11:43 -07:00
parent d433a16bb7
commit b89848009c
7 changed files with 111 additions and 26 deletions

View File

@@ -27,6 +27,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ @Override
+ public String getPermissionMessage() {
+ return net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer.legacyAmpersand().serialize(io.papermc.paper.configuration.GlobalConfiguration.get().messages.noPermission);
+ }
+
+ @Override
+ public net.kyori.adventure.text.Component permissionMessage() {
+ return io.papermc.paper.configuration.GlobalConfiguration.get().messages.noPermission;
+ }
+