Bukkit error

Discussion in 'Plugin Development' started by EnderApocalypse, Jan 25, 2015.

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

    EnderApocalypse

    Code:
    for (Player p :Bukkit.getServer().getOnlinePlayeres()) {
                      p.setOp(false);
    it says getOnlinePlayers is undifined for Bukkit or something.

    Even without .getServer

    And ignoring the misspelled word Playeres it still doesn't work

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

    pie_flavor

    what version of bukkit are you using
     
Thread Status:
Not open for further replies.

Share This Page