Citizens

Discussion in 'Plugin Development' started by ko47374737, Aug 3, 2014.

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

    ko47374737

    How could i get the name of the entity clicked in citizens.
     
  2. Offline

    zDylann

    Code:java
    1. @EventHandler
    2. public void onNPCInteract(NPCRightClickEvent e){
    3. if(e.getNPC().getName().equalsIgnoreCase("NPC NAME"){
    4. //Hooray
    5. }
    6. }
     
Thread Status:
Not open for further replies.

Share This Page