diff --git a/.metadata b/.metadata index 36ed32f..5ad64fe 100644 --- a/.metadata +++ b/.metadata @@ -8,7 +8,7 @@ "QuickbarMini", "StardustLib" ], - "version" : "1.3.4", + "version" : "1.4.0", "link" : "steam://url/CommunityFilePage/733665104", "steamContentId" : "733665104" } diff --git a/quickbar/icons.json.patch b/quickbar/icons.json.patch index f2ac32b..64e085e 100644 --- a/quickbar/icons.json.patch +++ b/quickbar/icons.json.patch @@ -1,11 +1,12 @@ [ { "op": "add", - "path": "/normal/-", + "path": "/items/silverfeelin:spawnableItemPack", "value": { "label": "Spawnable Item Pack", - "scriptAction": "spawnableItemPackLoader:openInterface", - "icon": "/interface/sip/iconSmall.png" + "icon": "/interface/sip/iconSmall.png", + "weight": 0, + "action": [ "exec", "/quickbar/spawnableItemPackLoader.lua" ] } } ] \ No newline at end of file diff --git a/quickbar/spawnableItemPackLoader.lua b/quickbar/spawnableItemPackLoader.lua index 89c1857..3fd7811 100644 --- a/quickbar/spawnableItemPackLoader.lua +++ b/quickbar/spawnableItemPackLoader.lua @@ -63,6 +63,5 @@ end -- Position anchor at bottom (prevents last row from missing) categoryScroll.children.sipCatoryAnchor2.position[2] = y - 1 -function module.openInterface() - player.interact("ScriptPane", config) -end \ No newline at end of file +-- Open interface +player.interact("ScriptPane", config) \ No newline at end of file