A couple errors

Discussion in 'Plugin Development' started by BearGoesHam, Jan 5, 2019.

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

    BearGoesHam

  2. Online

    timtower Ninja on the waves Moderator

  3. Offline

    BearGoesHam

    How do I make it not null?
     
  4. Online

    timtower Ninja on the waves Moderator

    You use constructors to pass along the instances.
     
  5. Offline

    BearGoesHam

    I did that but I'm still getting the same errors
     
  6. Online

    timtower Ninja on the waves Moderator

    Please post your new code.
     
  7. Offline

    BearGoesHam

  8. Online

    timtower Ninja on the waves Moderator

  9. Offline

    BearGoesHam

    How would I make a constructor then, i've never really used them
     
  10. Online

    timtower Ninja on the waves Moderator

  11. Offline

    BearGoesHam

    Last edited: Jan 5, 2019
  12. Offline

    KarimAKL

    @BearGoesHam Don't use a constructor in the main class, use the onEnable instead, also the constructor is empty.
     
  13. Offline

    BearGoesHam

    How else would I use the constructor? and do I even need anything in the constructor? I don't have anything I need in it
     
Thread Status:
Not open for further replies.

Share This Page