Solved Use player name from PlayerKickEvent in another method.

Discussion in 'Plugin Development' started by dan14941, Oct 7, 2014.

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


    Ok what i want to to use use the player name from a PlayerKickEvent in a seperate method so i can compare the names. Here is a paste of what i want:
    Its probably very simple and i cant think of it :/
  2. Offline


    Born2PvP and es359 like this.
  3. Offline


  4. Offline


    • Your code doesn't make sense. If the player gets kicked, how can the second part even get fired...
    • A Material named X3003?
    • Why Player#toString()? Use their UUID.
    • Calling getPlayer() on a player is redundant
    • Why are you concatenating the plugin in the logged message?
  5. Offline


    He's hoping it will stop the block from being placed
    He's using a mod.
    es359 likes this.
Thread Status:
Not open for further replies.

Share This Page