Does having 'pm.registerEvent' Cause some to not work?

Discussion in 'Plugin Development' started by Liam Allan, Aug 10, 2011.

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

    Liam Allan

    Theres are my events:
    Code:
    pm.registerEvent(Event.Type.BLOCK_PLACE, blockListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.BLOCK_BREAK, blockListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.SIGN_CHANGE, blockListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.PORTAL_CREATE, blockListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.EXPLOSION_PRIME, entityListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.PLAYER_ITEM_HELD, playerListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.PLAYER_INTERACT, playerListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.PLAYER_CHAT, playerListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS, playerListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.PLAYER_LOGIN, playerListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.PLAYER_QUIT, playerListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.PLAYER_KICK, playerListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.PLAYER_RESPAWN, playerListener, Event.Priority.Normal, this);
    pm.registerEvent(Event.Type.LIGHTNING_STRIKE, weatherListener, Event.Priority.Normal, this);
    And the ones under PLAYER_LOGIN do not work?
    What's the deal?
     
  2. Offline

    wwsean08

    what do you mean it doesn't work, what doesn't it do? Also if you are just trying to log this stuff (from your past posts) you should change the priority to monitor
     
  3. Offline

    Liam Allan

    Does not matter, Got it working :D
     
Thread Status:
Not open for further replies.

Share This Page