Player Reboot problem - need help pls

Discussion in 'Plugin Development' started by Sammy, Feb 24, 2011.

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

    Sammy

    Hey, I'm having a problem sending messages to a players that reboots while a thread is working.

    I made this HashSet on a class:
    Code:
    public static Set<Player> playerList = new HashSet<Player>();
    PlayerListener adds the player to the list after a onPlayerCommand event without a problem and all works well, when the ScheduledExecutor triggers the player receives the message
    But if he relogs before the trigger happens he won't receive the message.

    Does something change on the PlayerListener when he relogs ?

    cheers
    [creeper] SySammy


    EDIT: Plugins GitHub
    --- merged: Feb 24, 2011 11:08 PM ---
    After some soul searching, beer snacks and a little help from a friend I made it work so never mind ^^
     
Thread Status:
Not open for further replies.

Share This Page