Can fire ranged weapon not working

Started by Averagemcreato… on

Topic category: Help with modding (Java Edition)

Last seen on 15:35, 13. Mar 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can fire ranged weapon not working

Hello. a command I make doesn't work. the error message is "Procedures with return values must always end with a valid return block"

The procedure is a can fire ranged weapon "Event trigger , If get global [MP] For entity [Event/target entity] Do Return(Light blue return block) true. Please help me

 

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
outside of the If statement…
Wed, 10/20/2021 - 16:23

outside of the If statement put: Return False

and check that the first Return is Return True

also don't comment on your won't posts bc it is less likely for ppl to see it