Add dupe prevention mechanism and fix LiteProfiles menu edge case

This commit is contained in:
Rares Bozga
2026-03-21 13:33:28 +02:00
parent 44530c5edf
commit 6094306182
5 changed files with 33 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ liteprofilesutils_show_menu:
- adjust def:freeitem lore:<list[<&f>Click here to create a new profile]>
- flag <[freeitem]> liteprofiles:<map[].with[type].as[free]>
- define contents <[contents].include[<[freeitem]>]>
- repeat <[profilelimit].sub[<[profilecount]>]>:
- repeat <[profilelimit].sub[<[profilecount]>].sub[2]>:
- define unuseditem <item[gray_dye]>
- adjust def:unuseditem "display:<&7>Free Slot"
- define contents <[contents].include[<[unuseditem]>]>