Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-2274

Event getting fired twice in my custom log rotation plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • None
    • None
    • A custom log rotation plugin I made

      So I have a plugin that is supposed to read log rotation and then cycle it, and I have a debug message inside the listener that tells what the current rotation of the log is, but when I click once, I see the debug message twice. See links:

      onEnable where listener is registered: http://pastebin.com/UZweFatJ

      actual event handler in class: http://pastebin.com/iUWfw3q4

      I've look this issue up, but other people are saying that they registered their listener twice, which I didn't do, so I think this may be a Spigot issue. Either that or someone can help me figure out what is going on

            Unassigned Unassigned
            Pocketkid2 Adam Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: