From eb10bcbc96212434a5e575e5ff31259f0c0b2343 Mon Sep 17 00:00:00 2001 From: lexikiq Date: Mon, 31 May 2021 12:08:06 -0400 Subject: [PATCH] Disable launching from Minecart Anti-AFK (#4508) --- src/main/java/com/gmail/nossr50/listeners/PlayerListener.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java index 0ffa69824..294911528 100644 --- a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java @@ -794,7 +794,6 @@ public class PlayerListener implements Listener { if(player.isInsideVehicle() && (player.getVehicle() instanceof Minecart || player.getVehicle() instanceof PoweredMinecart)) { player.getVehicle().eject(); - player.setVelocity(player.getEyeLocation().getDirection().multiply(10)); } //mcMMOPlayer.getFishingManager().setFishingRodCastTimestamp();