Correct typo
This commit is contained in:
parent
49833b2270
commit
cb19161ddd
|
@ -21,8 +21,8 @@ end
|
||||||
|
|
||||||
function ItemStack:getName()
|
function ItemStack:getName()
|
||||||
--- check for custom name
|
--- check for custom name
|
||||||
if self.data.hasTagCompount() then
|
if self.data.hasTagCompound() then
|
||||||
local nbt = self.data.getTagCompount()
|
local nbt = self.data.getTagCompound()
|
||||||
if nbt.value.display and nbt.value.display.value.Name then
|
if nbt.value.display and nbt.value.display.value.Name then
|
||||||
return nbt.value.display.value.Name.value
|
return nbt.value.display.value.Name.value
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue