"Statement do does not support local variables."

Started by birdboi8 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Statement do does not support local variables."

encountered this issue just now.

i have a wait x ticks block, and in the do section i put a set local variable to x block. its giving me the error "Statement do does not support local variables.". what do i do?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Switching to a global…
Mon, 03/28/2022 - 02:22

Switching to a global variable usually does the trick