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

PlayerEggThrowEvent doesn't fire when the egg is thrown, but when it hatches

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Tried on 2 different servers, one on Windows 10 and one on Linux., Java 11, 15, and 16, Spigot versions 1.17.1 and 1.16.4. All were the same

    • 3198-Spigot-18c71bf-0abf420 (MC: 1.17.1)
    • Yes

      The `PlayerEggThrowEvent` event fires when the egg lands on the ground, not when the egg is actually thrown by the player. I have just wasted 2 days of debugging to find out that it was the fault of Spigot's terrible naming. I asked around the Discord server, and I was told there is no way this is happening, but I am 100% sure. Why is the class called "player egg throw" if it doesn't fire when the egg is thrown? That doesn't make any sense

            Unassigned Unassigned
            HydroPage Alejandro Laverde
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: