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"))); notes.addAll(FUtil.stringToList(resultSet.getString("notes")));
String tempTag = resultSet.getString("tag"); String tempTag = resultSet.getString("tag");
//-- //--
if (!Strings.isNullOrEmpty(tempTag) && FUtil.containsChatColor(tempTag)) if (!Strings.isNullOrEmpty(tempTag))
{
if (FUtil.containsChatColor(tempTag))
{ {
tempTag = FUtil.miniMessage(FUtil.colorizeAsComponentSection(tempTag)); tempTag = FUtil.miniMessage(FUtil.colorizeAsComponentSection(tempTag));
} }
//--
tag = FUtil.miniMessage(tempTag); tag = FUtil.miniMessage(tempTag);
}
//--
discordID = resultSet.getString("discord_id"); discordID = resultSet.getString("discord_id");
masterBuilder = resultSet.getBoolean("master_builder"); masterBuilder = resultSet.getBoolean("master_builder");
rideMode = RideMode.valueOf(resultSet.getString("ride_mode").toUpperCase()); rideMode = RideMode.valueOf(resultSet.getString("ride_mode").toUpperCase());