Another stupid fix.

This commit is contained in:
Paul Reilly 2023-04-07 16:35:12 -05:00
parent 7967bfc9f8
commit 198f1d3acf

View File

@ -55,12 +55,16 @@ public class PlayerData
notes.addAll(FUtil.stringToList(resultSet.getString("notes")));
String tempTag = resultSet.getString("tag");
//--
if (!Strings.isNullOrEmpty(tempTag) && FUtil.containsChatColor(tempTag))
if (!Strings.isNullOrEmpty(tempTag))
{
tempTag = FUtil.miniMessage(FUtil.colorizeAsComponentSection(tempTag));
if (FUtil.containsChatColor(tempTag))
{
tempTag = FUtil.miniMessage(FUtil.colorizeAsComponentSection(tempTag));
}
tag = FUtil.miniMessage(tempTag);
}
//--
tag = FUtil.miniMessage(tempTag);
discordID = resultSet.getString("discord_id");
masterBuilder = resultSet.getBoolean("master_builder");
rideMode = RideMode.valueOf(resultSet.getString("ride_mode").toUpperCase());