Hello guys,
I am making a plugin that will change the items given back when cancelling a craft.
After searching a little bit in the rust code, i found a list named takenitems that is called when cancelling a craft , and i think that is it the list that will be given back to the player , wath i want to do is when i cancel a craft , it will compare the takenitem with a list that i made and if any of the item is detected it will remove it from the list with takenitem.remove(theItem).
But the problem i don't know how to make a List<Item> and compare it to takenitem.
Item given back from craft cancelling
Discussion in 'Rust Development' started by Razoks, Mar 12, 2017.