DaPigGuy / PiggyCrates

A crate plugin for PocketMine-MP supporting unlimited crate types
https://piggydocs.aericio.net/PiggyCrates.html
Apache License 2.0
31 stars 40 forks source link

Check if player can receive drops #11 #14

Closed SalmonDE closed 6 years ago

SalmonDE commented 6 years ago

Before giving the player the item drops the code will now check if the player can receive the drops. If the player can't receive them, the items won't be handed out and the crate key won't be taken from the player. Instead the player is asked to clear their inventory.

Related to issue #11