Kill player

Discussion in 'Plugin Development' started by BlueBerryy, Feb 18, 2020.

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

    BlueBerryy

    Hello, does someone know why it does not work ?
    Thank you in advance :)
    upload_2020-2-18_17-42-44.png
     
  2. Offline

    CraftCreeper6

    @BlueBerryy
    What do you want it to do?

    What does it do?
     
  3. Offline

    KarimAKL

    @BlueBerryy
    1. Is your listener registered?
    2. You compare strings with .equals(), not ==.
     
  4. Offline

    BlueBerryy

    @CraftCreeper6 To kill a particulaebplayer who tries to kill another particular player.

    @KarimAKL Ok thank you i'll try.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 18, 2020
  5. Offline

    ChrisB13

    What are you trying to do with the last 'if' statement?
     
Thread Status:
Not open for further replies.

Share This Page