Solved Prevent Piston destroy torches or crops

Discussion in 'Spigot Plugin Development' started by YourServerPromo, Feb 23, 2020.

Thread Status:
Not open for further replies.
  1. Hi!
    I am trying to solve the problem mentioned in the title.
    What does not work is using the BlockPistonExtendEvent or the BlockPistonRetractEvent as they only work for Blocks they are pushing.

    Does anyone know how to prevent pistons from extending or retracting when there is an entity in its way?
    So i cant destroy crops by extending or retracting?

    Thanks for your help!
     
Thread Status:
Not open for further replies.