Player just can rightklick a red Banner

Discussion in 'Plugin Development' started by Kiwanga, Sep 10, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Kiwanga

    I want that player just can rightklick a red Banner but i dont know how... and if the Player clicked it, it should move on his head :D
    Maxbe u can help me
    ~ Kiwanga
     
  2. Offline

    undeaD_D

  3. Offline

    FisheyLP

    Use the PlayerInteractEntityEvent and check if .getEntityType() is a banner. Then do the stuff you want to do
     
Thread Status:
Not open for further replies.

Share This Page