Mined block drops

Discussion in 'Spigot Plugin Help' started by JacobJake7, Oct 17, 2020.

  1. Im trying to make it so when a player mines a block it doesn't allow any drops to happen, I couldn't find anything online about this, is their an easy way I can do this, thanks!
  2. Code (Java):
    Should do the trick
  3. Just set the block type to air