Start of If statement seems to get skipped #1807
-
I am in Minecraft 1.18.2 and I am trying to use the turtle as a shop vendor. All the interactions with the turtle will be done through a monitor. I have the basics of it started but I am having an issue with one of my If statements. Here is the code: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
<+SquidDev> in the IRC answered, At the start of my code I have |
Beta Was this translation helpful? Give feedback.
<+SquidDev> in the IRC answered, At the start of my code I have
local op1,op2 = 0
so only op1 was being set. I corrected it tolocal op1,op2 = 0,0
and it worked like a charm.