Actually cancel on leave
This commit is contained in:
parent
a0b3156610
commit
5f80ddb97d
@ -148,7 +148,7 @@ public class EngineScheduledTeleport extends EngineAbstract
|
|||||||
public void cancelTeleport(EventMassiveCorePlayerLeave event)
|
public void cancelTeleport(EventMassiveCorePlayerLeave event)
|
||||||
{
|
{
|
||||||
// If a player quits ...
|
// If a player quits ...
|
||||||
if (Mixin.isActualLeave(event)) return;
|
if ( ! Mixin.isActualLeave(event)) return;
|
||||||
|
|
||||||
// ... cancel teleport!
|
// ... cancel teleport!
|
||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
|
Loading…
Reference in New Issue
Block a user