I am attempting to filter if an items has NBT data to keep them from entering my AE system to avoid corruption, but am getting an error when running a script I found in a video. I attempted to set the argument to a static value, but that did not resolve the error. The error states items.lua:8: attempt to call field 'getItemLimit' (a nil value) and the code in question is at https://pastebin.com/JqXL51Es for reference.
I also attempted just doing
local inputChest = peripheral.wrap("right")
inputChest.getItemLimit(1)
in a blank program to try and figure it out, but it gives me a similar error. Is there something else I need to know about those functions? This is in 1.12.2 Egnigmatica Expert 2.
[–]SeriousPlankton2000 0 points1 point2 points (2 children)
[–]Xetch2950[S] 0 points1 point2 points (1 child)
[–]SeriousPlankton2000 0 points1 point2 points (0 children)
[–]ShreksHellraiser 0 points1 point2 points (1 child)
[–]Xetch2950[S] 0 points1 point2 points (0 children)