Add non-nil name for itemgroup
This commit is contained in:
parent
d16558853c
commit
c0f37e1630
@ -33,6 +33,14 @@ function ItemGroup:getDisplayName()
|
|||||||
return self:_getIdentityStack():getDisplayName()
|
return self:_getIdentityStack():getDisplayName()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function ItemGroup:getSimpleName()
|
||||||
|
return self:isEmpty() and "[EMPTY]" or self:_getIdentityStack():getSimpleName()
|
||||||
|
end
|
||||||
|
|
||||||
|
function ItemGroup:isEmpty()
|
||||||
|
return self:_getIdentityStack():isEmpty()
|
||||||
|
end
|
||||||
|
|
||||||
function ItemGroup:getName()
|
function ItemGroup:getName()
|
||||||
return self:_getIdentityStack():getName()
|
return self:_getIdentityStack():getName()
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user