Started by
Boi3
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make it so it spawns a torch when the player enters my new dimension, but it keeps spawning the torches after it places one and I can't fix it
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make it so it spawns a torch when the player enters my new dimension, but it keeps spawning the torches after it places one and I can't fix it
You are using local variables, meaning they reset each time the procedure is called. If you want a variable to be permanent for the world, you should use global variables instead. You can make a global variable in the Variables menu on the left of the workspace window.