From 7470c24567dbc097f5b7debb2d0f88e6a36be2fd Mon Sep 17 00:00:00 2001 From: Silverfeelin Date: Thu, 13 Jun 2019 19:37:30 +0200 Subject: [PATCH] Update Quickbar patch. Bump version. --- .metadata | 2 +- quickbar/icons.json.patch | 7 ++++--- quickbar/spawnableItemPackLoader.lua | 5 ++--- 3 files changed, 7 insertions(+), 7 deletions(-) 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