.

Discussion in 'Plugin Development' started by elementalgodz11, Dec 8, 2013.

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

    elementalgodz11

  2. Offline

    AoH_Ruthless

    elementalgodz11
    What imports are you calling for water?
    Also, you can just check if the block is a liquid, you know.


    What's the message for that, and where is the location of it?
     
  3. elementalgodz11
    You could try getting the amount of damage from the onDamage event then seeing if subtracting that from their health is lower than 1.
    Like disss
    Code:java
    1. if(event.getEntity().getHealth() - event.getDamage() <= 0)

    Just make sure to check its a human!
     
Thread Status:
Not open for further replies.

Share This Page