EntityCreatePortalEvent not triggering

Discussion in 'Plugin Development' started by matejdro, Apr 10, 2013.

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


    I have this simple code:

    1. @EventHandler()
    2. public void onPortalCreate(EntityCreatePortalEvent event)
    3. {
    4. System.out.println("test");
    5. }

    And it's not triggering when I light up nether portal using flint and steel. Other events inside same class are working, so listener itself is working.

    Is there chance that this event does not work yet in 1.5?

    Also another question: how to catch fire spread creating nether portals? AFAIK this is no entity.
  2. Offline


    There sure is! If you test it to the extent that it must be a Bukkit bug, report it at leaky.bukkit.org :)

  3. Offline


    I'm not sure how should I determine if its bukkit bug or not.

    Aw damn, how the hell I missed PortalCreateEvent? Thanks!
  4. Offline


    If it is exactly how you've presribed in the post above, it almost certainly is a bukkit bug :(

    Also, check the bug website for the issue before posting :)
Thread Status:
Not open for further replies.

Share This Page