Can someone tell me what I did wrong?

Started by Dokneso on Sat, 10/29/2022 - 08:41

Topic category: Help with modding (Java Edition)

Last seen on 14:49, 19. Nov 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Can someone tell me what I did wrong?
Sat, 10/29/2022 - 08:41

I have a problem...

I`m not sure what`s wrong with this code. And that`s the picture with blocks.

The error says "Statement do does not support local variables"

Last seen on 18:11, 26. Jan 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Block "Wait X ticks, then on…
Sun, 10/30/2022 - 18:40

Block "Wait X ticks, then on server side" doesn't support local variables. That mean you can't use variables that you create inside procedure (like your variable "ifItemOnCouldown".