Entity -> Player

Discussion in 'Plugin Development' started by highz, Jan 29, 2011.

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

    highz

    Hi Guys,

    My code gets an Entity.
    First of all i want to check if that Entity is a Player.
    After that i want the Player to become that Entity.

    I thought something like that but that doesn't work

    Code:
    Int damagerID = damager.getEntityId();
    Player p = new Player(damagerID);
    I hope somebody knows the answer :p
     
  2. Offline

    ghosstk

Thread Status:
Not open for further replies.

Share This Page