Cancelling EntityTransformEvent Causes Deceased Slimes To Not Despawn

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • None
    • 3219-Spigot-b166a49-8c6d60c (MC: 1.17.1)
    • Yes

      If you cancel EntityTransformEvent, this event runs indefinitely when killing a slime, never triggering SlimeSplitEvent or spawning smaller slimes, but it also does not despawn the slime that was killed, which causes TPS(CPU) lag and also leaves this in the world:

      Code:

      @EventHandler(priority = EventPriority.NORMAL)
      public void onEntityTransform(EntityTransformEvent event) {     event.setCancelled(true);
      }
      

      Attached is the plugin jar if that helps.

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

              Created:
              Updated:
              Resolved: