mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-05 03:31:09 +02:00
Minor tweak :p.
This commit is contained in:
parent
f0ea06bea6
commit
b54b558322
|
@ -853,7 +853,7 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
|||
final Location to = event.getTo();
|
||||
if (!from.getWorld().equals(to.getWorld())) return;
|
||||
|
||||
final Player player = (Player) event.getVehicle().getPassenger();
|
||||
final Player player = (Player) passenger;
|
||||
|
||||
Location newTo = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user