(Ignore,Double Post)

Discussion in 'Plugin Development' started by h4344, Nov 30, 2011.

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

    h4344

    Im stuck trying to make it so when a obsidian block ignites that the ignite event will not be canceled. This code seem's to not like me since it still dosent ignite.

    public class MyBlockListener extends BlockListener {
    @Override
    public void onBlockIgnite(BlockIgniteEvent event) {
    if(event.getBlock().getType() != Material.OBSIDIAN){
    event.setCancelled(true);
    }
    }
    }
     
  2. Offline

    ArcheCane

    Don't make multiple threads with the same issue. :p Wait for a reply on the other.
     
  3. Offline

    h4344

    Ya double posting will get me in trouble but this issue is killing my plugin.
     
Thread Status:
Not open for further replies.

Share This Page