Solved Can't use bukkit or craftbukkit

Discussion in 'Plugin Development' started by MgMaor, Jul 20, 2013.

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

    MgMaor

    If I use craftbukkit I got that error: "The method getHealth() is ambiguous for the type Player"
    But if I use bukkit I can't import "import org.bukkit.craftbukkit.v1_6_R2.entity.CraftLivingEntity;"
    what to do?
     
  2. Offline

    desht

    Use both Bukkit and CraftBukkit in that order (and the order is critical).
     
  3. Offline

    CubieX

    Import both. Just make sure that bukkit.jar is your first dependency.
     
  4. Offline

    MgMaor

    ok thanks
     
Thread Status:
Not open for further replies.

Share This Page