[Error] Event.Type.BLOCK_DAMAGE

Discussion in 'Plugin Development' started by Usche, Mar 31, 2011.

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

    Usche

    Hello,

    I have got a little problem with the plugin I'am working at:
    when I use

    Code:
    
    private final OrganizeBlockListener blockListener = new OrganizeBlockListener(this);
    ...
    
    PluginManager pm = getServer().getPluginManager();
                pm.registerEvent(Event.Type.BLOCK_DAMAGE, blockListener,Event.Priority.Normal, this);
    my testserver gives me

    .BLOCK_BREAK e.g. is working fine...

    hope you will habe some ideas

    with best regards

    Usche
     
  2. Offline

    Edward Hand

    Try updating your version of bukkit/craftbukkit
     
  3. Offline

    Usche

    Omg... thanks, i though i had the latest version, but it was in a wrong folder...

    Now it's working thanks

    Cheers

    Usche
     
Thread Status:
Not open for further replies.

Share This Page