From cb19161dddbfe8737c887f0951d7321f5d4777f5 Mon Sep 17 00:00:00 2001 From: Cody Young Date: Tue, 21 Mar 2023 13:37:05 -0500 Subject: [PATCH] Correct typo --- test-programs/logistics-pipes/pipe_driver.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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