Solved TNT only does 1/2 heart damage!

Discussion in 'Plugin Development' started by AragurLp, Aug 7, 2014.

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

    AragurLp

    Hey in my Plugin I have implemented, that a seted TNT Block will be directly a primed TNT.
    It works all fine. But if the TNT explodes it only does 1/2 heart damage!
    Why is this like that? And how can i fix it?
    Source of the BlockPlace Listener.
     
  2. Offline

    hubeb

    AragurLp Is your player wearing any armor?
     
  3. Offline

    AragurLp

    Nope, he doesn't.
     
  4. Offline

    fireblast709

    AragurLp I assume you have others plugins running, and one of them is causing it. (Or another part of your code)
     
  5. Offline

    AragurLp

    I don't usw other Plugins.
    And the another code don't touches the damage vor spawned Entitys.

    Bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  6. Offline

    ZodiacTheories

    AragurLp

    Only bump within 24 hours please :)
     
  7. Offline

    AragurLp

    Oh sorry
     
  8. Offline

    AragurLp

    Okay, I found the problem.
    I don't know if it's a bug, but evry time a spawn a PrimedTNT Entity it only does 1/2 heart damage.
    I fixed it by setting the block underneath it to a ReadstoneBlock and after one tick replaceing it to the Original State.

    ~Closed
     
Thread Status:
Not open for further replies.

Share This Page