[Solved] Cast Player to net.minecraft.server.v1_8_R2.Entity

Discussion in 'Spigot Plugin Development' started by Aurelian6, May 5, 2015.

  1. Hello,

    I'm currently search for cast Player (org.bukkit.entity.Player) to net.minecraft.server.v1_8_R2.Entity.

    Can you help me ? :3
    Thanks
     
  2. gigosaurus

    Supporter

    Code (Java):
    net.minecraft.server.v1_8_R2.Entity entity = ((CraftPlayer) player).getHandle();
     
  3. Thanks, resolved. :)