mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Disable launching from Minecart Anti-AFK (#4508)
This commit is contained in:
parent
2875545fa4
commit
eb10bcbc96
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user