Solved Event not occuring

Discussion in 'Plugin Development' started by Ghilliedrone, Aug 12, 2013.

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

    Ghilliedrone

    I have an event with the event type EntityRegainHealthEvent. The event only starts when an entity gets hit with a potion of instant health but not a potion of regeneration, which is what i want. Does it not work with regeneration or am i doing something wrong?
    Edit: it seems that only if the entity is hurt first, it will activate. Is there any way to detect it without the entity hurt?
     
  2. Ghilliedrone if nothing of it works maybe you forgot to register the event?
     
  3. Offline

    Ghilliedrone

    Can someone show me how to run a task every 40 ticks? It would solve my problem better

    Fixed myself :p

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

Share This Page