Applied the fix to select gui as well

This commit is contained in:
Vidal committed 2026-02-17 18:38:58 -03:00
1 parent 55149ab5d1
commit 071cbc9890
1 file changed
-2
@@ -58,8 +58,6 @@ public class SubGuiAbilityTypeSelect extends SubGuiInterface implements ICustomS
allDisplayNameToTypeId.clear();
String[] types = AbilityController.Instance.getTypes();
for (String typeId : types) {
// Exclude built-in types — they cannot be created as custom presets
if (AbilityController.Instance.isBuiltInType(typeId)) continue;
String displayName = I18n.format(typeId);
allDisplayNameToTypeId.put(displayName, typeId);
}