Correct typo

This commit is contained in:
2023-03-21 13:37:05 -05:00
parent 49833b2270
commit cb19161ddd

View File

@@ -21,8 +21,8 @@ end
function ItemStack:getName()
--- check for custom name
if self.data.hasTagCompount() then
local nbt = self.data.getTagCompount()
if self.data.hasTagCompound() then
local nbt = self.data.getTagCompound()
if nbt.value.display and nbt.value.display.value.Name then
return nbt.value.display.value.Name.value
end