Solved Disable sign physics.

Discussion in 'Spigot Plugin Development' started by Nestirium, Feb 6, 2020.

  1. As the title says, on BlockBreakEvent, I checked if the block is a sign.
    But I want to make sure that the block is only broken by a player, not falling sand below it, or other factors like pistons, etc...
     
  2. Javadoc:
    public class BlockBreakEvent
    extends BlockExpEvent
    implements Cancellable
    Called when a block is broken by a player.

    It's only called when broken by a player
     
  3. Listenfor BlockPhysicsEvent
     
  4. That's what I did. Issue solved, thanks.