EntityDamageByEntityEvent throws an error

Discussion in 'Plugin Development' started by Phantom_64, Jun 15, 2014.

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

    Phantom_64

  2. Phantom_64 its showing the error line is 59 (not sure if read it good, I dont like pastebin for errors :p preffer the code in here), if it is in line 59, mind show it to us?
     
  3. Offline

    Phantom_64

  4. Offline

    DeluXeNationMC

    Phantom_64 Player p = (Player) e.getEntity(); Try moving this code down after all the checks since the variables are not being used. I have had this problem aswell this should fix the problem.
     
    Someone_Like_You likes this.
  5. Offline

    Necrodoom

    Then it would error that variable p is not found...
     
Thread Status:
Not open for further replies.

Share This Page