Random Procedure Drop Issue or Bug?

Published by KreatorB on Mon, 10/15/2018 - 22:33
Upvotes: 0
Issue description

I have begun playing more and more with procedures.
As we all know learning is a curve for any and most.
While doing so I decided that I no longer wanted to edit or embed hard code as procedures are native and simple at times.

So I made a random drop to the players inventory when the ore block is broken and it works but only in creative.
When I do the same ore breaks in survival it places the drops but as soon as I attempt to move or take them they disappear!
Can you please me figure this out as this is easier then locking code and I can use the concept for multiple blocks.





Issue comments

Submitted by KreatorB on Mon, 10/15/2018 - 22:43

can you please remove the file from being downloadable. I did not know it makes it available to all.


I have removed the workspace file (CratedCavern_v100159.mcr) from the ticket. You can email me the workspace if you don't want to share it here.

I will check what is causing this bug and report back here.

The bug was with the way how the player was referenced in the trigger. I will fix this bug in 1.8.1, for now, you can use drop gem block instead.

The next time you send me workspace, please tell which block to look for as I had to go through all of them to find the proper block. Thanks!

I can not use a gem drop as I can not tell it the amount of items to drop using the random system I created. hence why I want the inventory one. But if you can help direct me how to use the gems drop and an amount that would be great...

Thank you