❔ Need some help fixing this simple if statement
I want the script to cache the previously grinded block and store it then echo the name of that block, every time I try to move the variables around I either get NULL or the currently grinded block, is anyone able to help me out here with fixing this code?
9 Replies
$paste
If your code is too long, you can post to https://paste.mod.gg/ and copy the link into chat for others to see your shared code!
BlazeBin - sguulxwtoitd
A tool for sharing your source code with the world!
the variable I am having issues with is lastground
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.No this has not been solved
@Connolly assign the displayname variable to lastground after the successful grind. Then, Echo the lastground variable to display the name of the last ground block.
Thank you so much will test this out and let you know!
Everything seems to be working now with this code however it shows the same block for the Last Ground as the what's being currently Grinded
BlazeBin - ttozzenvneon
A tool for sharing your source code with the world!