Abilities are now Stored by Name not UUID

This commit is contained in:
Kam committed 2026-02-17 20:44:27 -05:00
1 parent bc336abf9d
commit c7956a24a6
12 files changed
+171 -185

No files matched your search

@@ -36,7 +36,7 @@ public class ScriptPlayerAbilityData implements IPlayerAbilityData {
if (!ability.getAllowedBy().allowsPlayer()) {
return; // Ability is NPC-only
}
// Use canonical key (registry key for built-in, UUID for custom)
// Use canonical key (registry key for built-in, name for custom)
String canonicalKey = ability.getId() != null ? ability.getId() : key;
data.unlockAbility(canonicalKey);
}