Checking a linked list.

Discussion in 'Plugin Development' started by HackintoshMan, Apr 15, 2013.

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


    I have 2 linked lists. One for the red team and one for the blue team. When I check to see if a player is in the list, nothing happens. I am using the following.
    if ( {
    For teams should I use the new scoreboard API to manage them?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 1, 2016
  2. Offline


    Using Player object ? That might be the cause, switch to String and use player's name instead.

    However, player might really not be in the list... debug, print the contents of the list and stuff like that, trace your code back....
  3. Offline


    Would teams be better if i used the new scoreboard API?
  4. Offline


    It'd be harder for you to use them, if that counts.
  5. Offline


    I am converting right now. The api looks pretty easy so far. And do I have to use a scoreboard with it or can I just use the team part of it?
Thread Status:
Not open for further replies.

Share This Page