1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Undefined metthod on EntityDamageByEntityEvent

Discussion in 'Development' started by Remarkabless, Nov 17, 2017.

  1. Remarkabless

    Remarkabless Slime

    Messages:
    83
    GitHub:
    Remakem
    Ei
     
    Last edited: Nov 17, 2017
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Let's see: Does Event have a getLevel function? Doesn't appear so.
    Does EntityEvent have one? Nope.
    Does EntityDamageEvent have one? Not either.
    And does EntityDamageByEntityEvent have one? Nope

    So why were you expecting this to work?

    Edit: Accidentally sent post before I was finished typing, added the rest of the post
     
    jasonwynn10 and Muqsit like this.
  3. Remarkabless

    Remarkabless Slime

    Messages:
    83
    GitHub:
    Remakem
    Got it working, bunch of just dumb mistakes but now the plugin doesnt work like I want it to.
     
  4. Remarkabless

    Remarkabless Slime

    Messages:
    83
    GitHub:
    Remakem
    Fixed thecode, now just the actual working in the way I want. Cant upload the video to show people either :/. Have twitter maybe you can help me?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.