Cancelling EntitySpawnEvent takes Ender Eye from inventory

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • git-Spigot-047b6f8-61d4b09 (MC: 1.15)
    • Yes

      I mean, the title covers it. If a player throws an ender eye and the EntitySpawnEvent is cancelled, it will still get taken from the inventory.

      @EventHandler(priority = EventPriority.LOWEST)
      public void EntitySpawnEvent(EntitySpawnEvent evt){
          evt.setCancelled(true);
      }

            Assignee:
            Unassigned
            Reporter:
            YourCoal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: