Solved items collect block

Discussion in 'Spigot Plugin Development' started by Cesify, Jul 13, 2021.

Thread Status:
Not open for further replies.
  1. Hi, how do I block a player from collecting items?
     
  2. Hello!
    Try using the PlayerPickupItemEvent event, check for the player and cancel the event using event.setCancelled(true);
    I never tried it but i think that works
     
  3. Thanks!
     
Thread Status:
Not open for further replies.