mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-22 09:39:46 +00:00
Add UUID mismatch warning suppression setting (#4194)
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -75,7 +75,7 @@ public abstract class AbstractConnectionListener {
|
||||
|
||||
// most likely because ip forwarding is not setup correctly
|
||||
// print a warning to the console
|
||||
if (saveResult.includes(PlayerSaveResult.Outcome.OTHER_UNIQUE_IDS_PRESENT_FOR_USERNAME)) {
|
||||
if (saveResult.includes(PlayerSaveResult.Outcome.OTHER_UNIQUE_IDS_PRESENT_FOR_USERNAME) && !Boolean.getBoolean("luckperms.suppress-uuid-mismatch-warning")) {
|
||||
Set<UUID> otherUuids = saveResult.getOtherUniqueIds();
|
||||
|
||||
this.plugin.getLogger().warn("LuckPerms already has data for player '" + username + "' - but this data is stored under a different UUID.");
|
||||
|
||||
Reference in new issue
Block a user