Right click procedure, 'if do else' not working correctly

Started by DJC1289 on

Topic category: Help with MCreator software

Last seen on 16:30, 8. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Right click procedure, 'if do else' not working correctly

I'm trying to make a tool that will clear blocks

Basically I have it setup so you right click on the first block and it records the xyz position, then right click on another block and it destroys every block between them then resets the 'first block'

the problem is it runs through the whole 'do else' statement on the first click

pic included of the beginning of my codepic of the first part of code

Last seen on 20:04, 12. Apr 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think if you do 2 separate…
Mon, 04/19/2021 - 08:26

I think if you do 2 separate if do blocks it should work