Solved Trouble with CustomPathFinderGoals

Discussion in 'Plugin Development' started by QulexTheBuilder, Aug 2, 2021.

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

    QulexTheBuilder

    Hello, I'm having problems with what I assume is a nullpointerexeption in my code however I don't know why since I'm checking for nulls already, this is the stack trace.
    upload_2021-8-3_2-51-34.png

    As well as the code the stack trace says is wrong on line 29

    upload_2021-8-3_2-59-14.png

    And then lastly the entity class just in case that it's needed

    upload_2021-8-3_2-55-0.png

    I got it to work apparently you need to specify a target reason...

    Edit: how do i mark this as solved? Can I even do that before a moderator checks this?

    Edit2: Nevermind
     

    Attached Files:

    Last edited by a moderator: Aug 5, 2021
Thread Status:
Not open for further replies.

Share This Page