Actually cancel on leave

This commit is contained in:
BuildTools 2015-10-19 15:06:19 +02:00 committed by Olof Larsson
parent a0b3156610
commit 5f80ddb97d

View File

@ -148,7 +148,7 @@ public class EngineScheduledTeleport extends EngineAbstract
public void cancelTeleport(EventMassiveCorePlayerLeave event)
{
// If a player quits ...
if (Mixin.isActualLeave(event)) return;
if ( ! Mixin.isActualLeave(event)) return;
// ... cancel teleport!
Player player = event.getPlayer();