mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-28 03:17:53 +01:00
Minor change to recently added teleport enforcing to (hopefully) be
pre and post #888 compatible for now.
This commit is contained in:
parent
1ddd1ca6c9
commit
a37daefa63
@ -468,8 +468,6 @@ public class MovingCheck extends Check {
|
||||
|
||||
data.worldChanged = !event.getFrom().getWorld().getName().equals(event.getTo().getWorld().getName());
|
||||
}
|
||||
|
||||
data.teleportTo = null;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -584,9 +582,9 @@ public class MovingCheck extends Check {
|
||||
event.setTo(t);
|
||||
|
||||
event.setCancelled(true);
|
||||
|
||||
data.teleportTo = null;
|
||||
}
|
||||
|
||||
data.teleportTo = null;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user