LuckPerms Integration (2/2)

This commit is contained in:
Paul Reilly
2023-03-30 15:26:35 -05:00
parent cc244fc4f7
commit 8a58782d99
87 changed files with 528 additions and 1438 deletions

View File

@ -15,6 +15,7 @@ import me.totalfreedom.totalfreedommod.util.FConverter;
import me.totalfreedom.totalfreedommod.util.FLog;
import me.totalfreedom.totalfreedommod.util.FSync;
import me.totalfreedom.totalfreedommod.util.FUtil;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.minimessage.tag.resolver.Placeholder;
import org.bukkit.ChatColor;
import org.bukkit.Location;
@ -245,10 +246,10 @@ public class LoginProcess extends FreedomService
if (!plugin.al.isAdmin(player))
{
String tag = playerData.getTag();
Component tag = playerData.getTag();
if (tag != null)
{
fPlayer.setTag(FUtil.colorize(tag));
fPlayer.setTag(tag);
}
int noteCount = playerData.getNotes().size();