Disable launching from Minecart Anti-AFK (#4508)

This commit is contained in:
lexikiq 2021-05-31 12:08:06 -04:00 committed by GitHub
parent 2875545fa4
commit eb10bcbc96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -794,7 +794,6 @@ public class PlayerListener implements Listener {
if(player.isInsideVehicle() && (player.getVehicle() instanceof Minecart || player.getVehicle() instanceof PoweredMinecart)) if(player.isInsideVehicle() && (player.getVehicle() instanceof Minecart || player.getVehicle() instanceof PoweredMinecart))
{ {
player.getVehicle().eject(); player.getVehicle().eject();
player.setVelocity(player.getEyeLocation().getDirection().multiply(10));
} }
//mcMMOPlayer.getFishingManager().setFishingRodCastTimestamp(); //mcMMOPlayer.getFishingManager().setFishingRodCastTimestamp();