From 0818dae0df822421be4cf6456ab855c74b88722a Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Wed, 30 Apr 2025 13:21:39 +0100 Subject: [PATCH] change qs-inv `metadata` call to `info` --- shared/itemcontrol.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/itemcontrol.lua b/shared/itemcontrol.lua index 7c7a660..dd226b0 100644 --- a/shared/itemcontrol.lua +++ b/shared/itemcontrol.lua @@ -432,7 +432,7 @@ function getDurability(item) for _, v in pairs(itemcheck) do if v.name == item and v.slot <= lowestSlot then lowestSlot = v.slot - durability = v.metadata.durability + durability = v.info.durability end end end