"Statement do does not support local variables."

Started by birdboi8 on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Jun 2020
Points:
642

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
"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?

Active 7 months ago
Joined Mar 2021
Points:
734

User statistics:

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

Switching to a global variable usually does the trick