Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 147
    • Issues 147
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #616

Closed
Open
Created Nov 05, 2021 by Austin Dart@aedart

EntityTeleportEvent Not Called When ActiveMob Gets Leashed

Summary

When a mob is teleported via its spawner's leash, the EntityTeleportEvent is not called.

Steps to reproduce

  1. Create a MythicMob Spawner
  2. Have the Spawner leash its mobs
  3. Aggro a mob, and get it to walk far enough that it teleports back due to the leash.
  4. Have a listener listening to the EntityTeleportEvent - notice that it does not get called.

Current behavior

The EntityTeleportEvent is not called.

Intended correct behavior

The EntityTeleportEvent, or a similar custom event (e.g. MythicMobTeleportEvent or ActiveMobTeleportEvent or AbstractEntityTeleportEvent) should be called.

Proposed fixes

Create an event for when a MythicMob gets leashed.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking