Solved Help! EntityDeathEvent Error

Discussion in 'Plugin Development' started by Xenthos, Nov 30, 2015.

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

    Xenthos

    This thread has been marked solved. Thank you very much @Orange Tabby !
     
    Last edited: Nov 30, 2015
  2. Offline

    Orange Tabby

    @Xenthos Okay so something is returning null in your zombie class on line 30 seems to be the color code, try removing the chatcolor.reset on line 29? I'll keep reading and tell you if I see anything else

    edited: also I use this to convert the & to the color code sign but your method is good too but this is what I do
    Code:
    ChatColor.translateAlternateColorCodes('&', your text here)
     
    Last edited: Nov 30, 2015
  3. Offline

    Xenthos

    @Orange Tabby You're probably right. I can't believe I left that there! I'll test it out and let you know if that fixes it.

    EDIT: You were! Thank you very much!
     
  4. Offline

    Orange Tabby

    @Xenthos Okay hoped I helped in some way :D
    [cake]

    @Xenthos No problem glad to help :D [cake]
    [cake][cake]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 30, 2015
Thread Status:
Not open for further replies.

Share This Page