Adjust the profile obtaining command

This commit is contained in:
zontreck 2023-12-19 15:20:12 -07:00
parent 19d99091b7
commit 8fdc29d4ea
2 changed files with 2 additions and 3 deletions

View file

@ -53,7 +53,7 @@ mod_name=Zontreck Library Mod
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=GPLv3
# The mod version. See https://semver.org/
mod_version=1.9.121923.1104
mod_version=1.9.121923.1513
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View file

@ -82,8 +82,7 @@ public class Profile {
Profile prof = LibZontreck.PROFILES.get(UUID);
if(!prof.runSanityChecks())
{
LibZontreck.PROFILES.remove(prof);
return get_profile_of(UUID);
prof.player = ServerUtilities.getPlayerByID(UUID);
}
return prof;
}else {