Im trying to make it when a player dies their items don't drop and just clear so I tried making the setDrop([]) so nothing will drop but it wont work
how do I make it so when a player dies nothing will drop
The .setDrops() method requires an array of Item objects (Item[]), and you've not input any parameters for the function call. You need to either input null, or create an empty Item[] object and input that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.