diff --git a/storage/itemgroup.lua b/storage/itemgroup.lua index 6982d7f..c7156e1 100644 --- a/storage/itemgroup.lua +++ b/storage/itemgroup.lua @@ -53,6 +53,14 @@ function ItemGroup:getNBT() return self:_getIdentityStack():getNBT() end +function ItemGroup:getDamage() + return self:_getIdentityStack():getDamage() +end + +function ItemGroup:getMaxDamage() + return self:_getIdentityStack():getMaxDamage() +end + function ItemGroup:_getIdentityStack() return self[1] end