We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e222d13 commit 2141abfCopy full SHA for 2141abf
1 file changed
src/main/java/net/modfest/rolesync/platform/SyncedRoleLookup.java
@@ -1,5 +1,6 @@
1
package net.modfest.rolesync.platform;
2
3
+import com.mojang.util.UndashedUuid;
4
import dev.gegy.roles.api.PlayerRolesApi;
5
import dev.gegy.roles.api.Role;
6
import net.minecraft.entity.player.PlayerEntity;
@@ -65,7 +66,7 @@ public void onDataUpdate(Collection<UserData> newData) {
65
66
p.getLeft().minecraft_accounts()
67
.stream().map(uuidStr -> {
68
try {
- return UUID.fromString(uuidStr);
69
+ return UndashedUuid.fromStringLenient(uuidStr);
70
} catch (IllegalArgumentException ignored) {
71
return null;
72
}
0 commit comments