Started by
RolerGames
on
Topic category: Help with Minecraft modding (Java Edition)
This issue was solved!
(Note: this is a procedure for a command)
What's working?
What's not working?
When I type the command and the local:custom_command_1 variables value as parameter with index 0 which I set inside Minecraft before (the part where you set the variables is working normally) it doesn't output anything (no command executed and no message).
Command examples:
/gv set 1 ab minecraft:acacia_button (this one works)
/gv ab (this one doesn't work)
I don't understand where I made the error, can someone help?
Download full procedure here:
https://drive.google.com/file/d/1JVHqbRRcEbSBeDTK5cQtUhKsIOEe584I/view?usp=sharing
Edited by RolerGames on Fri, 06/05/2020 - 10:33
I managed to solve the issue!
How?
I replaced all (exept Local: local_give_stack_value) the local variables with global variables.
Even though I fixed it, I still don't understand why was that causing the error, is it a MCreator code bug or are local variables working only under the same IF logic operation and not the whole procedure (which wouldn't make any sense because the variable Local: local_give_stack_value is working under the whole procedure)?
Yes, I noticed that too, it's very strange and if you don't have good results with global variables you can use NBT tags