Prevent explosions from breaking certain blocks?

Discussion in 'Plugin Development' started by xLoGiiKzZo, Jul 12, 2013.

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

    xLoGiiKzZo

    Is there a way to prevent explosions from breaking certain blocks (glass for example)?

    EDIT: The explosion is created by another plugin.
     
  2. Offline

    Sessional

    xLoGiiKzZo
    Look into a block break event and use the source of the damage to determine an explosion, and the block that fired the event's material.
     
  3. Offline

    xLoGiiKzZo

    The block break event doesn't have a method for that?
     
Thread Status:
Not open for further replies.

Share This Page