PortalPlayerSession ps = this.plugin.getPortalSession(p);
MVPortal portal = ps.getStandingInPortal();
// If the portal is not null
// AND if we did not show debug info, do the stuff
// The debug is meant to toggle.
if (portal != null && ps.doTeleportPlayer(MoveType.VEHICLE_MOVE) && !ps.showDebugInfo()) {
if (!ps.allowTeleportViaCooldown(new Date())) {
p.sendMessage(ps.getFriendlyRemainingTimeMessage());
return false;
}
// TODO: Money