diff --git a/test-programs/logistics-pipes/pipe_driver.lua b/test-programs/logistics-pipes/pipe_driver.lua index 01cf1b4..d5c3f3a 100644 --- a/test-programs/logistics-pipes/pipe_driver.lua +++ b/test-programs/logistics-pipes/pipe_driver.lua @@ -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