Plugin Help Bukkit Class Shows Only Two Methods

Discussion in 'Plugin Help/Development/Requests' started by Lampades, Dec 25, 2015.

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

    Lampades

    I'm in eclipse and the Bukkit Class shows only three methods.
    Whenever i try to do Bukkit.getPlayer(), it gives me a red line under "getPlayer()" and says
    getPlayer() is undefined for the type Bukkit. the Only three methods shown by Bukkit are getLogger() and class and this. help pls?
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Lampades getPlayer requires a string argument.
    And are you using the right Bukkit then?
     
  3. Offline

    Lampades

    This server is running CraftBukkit version git-Spigot-"4133000"
    (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
    That's the craftbukkit that i'm using

    http://prntscr.com/9icuy2 this is my bukkit class & methods.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 25, 2015
  4. Offline

    mcdorli

    Or a UUID
     
  5. Offline

    pie_flavor

    @Lampades Are you sure that you have imported it correctly? Also, if Eclipse starts giving you attitude, saving the file sometimes fixes things.
     
  6. Offline

    Lampades

    Last edited by a moderator: Jan 1, 2016
  7. Offline

    timtower Administrator Administrator Moderator

    @Lampades At least try it before the return.
     
  8. Offline

    Lampades

  9. Offline

    mcdorli

    Where did you got this one from? Use the one spigot provides you
     
  10. Offline

    Lampades

    @mcdorli mind linking me to one? can't seem to find it ._.
     
Thread Status:
Not open for further replies.

Share This Page