From 14cfc414fe09817ba8aafe668e9917b91b265f8f Mon Sep 17 00:00:00 2001 From: Zoey Date: Thu, 18 Jan 2024 11:02:54 +0100 Subject: [PATCH] Delete src/main/java/de/zoeyvid/stacker/Listener/VehicleExitListener.java Signed-off-by: Zoey --- .../stacker/Listener/VehicleExitListener.java | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/main/java/de/zoeyvid/stacker/Listener/VehicleExitListener.java diff --git a/src/main/java/de/zoeyvid/stacker/Listener/VehicleExitListener.java b/src/main/java/de/zoeyvid/stacker/Listener/VehicleExitListener.java deleted file mode 100644 index 29f1b792..00000000 --- a/src/main/java/de/zoeyvid/stacker/Listener/VehicleExitListener.java +++ /dev/null @@ -1,22 +0,0 @@ -package de.zoeyvid.stacker.Listener; - -import java.lang.Thread; -import de.zoeyvid.stacker.loadConfig; -import de.zoeyvid.stacker.main; -import org.bukkit.entity.Player; -import org.bukkit.event.EventHandler; -import org.bukkit.event.Listener; -import org.bukkit.event.entity.EntityDismountEvent; - -public class VehicleExitListener implements Listener { - - @EventHandler - public void onVehicleExit(EntityDismountEvent event) { - if(!(event.getDismounted() instanceof Player)) return; - Player player = (Player) event.getDismounted(); - if(loadConfig.throwable()) { - player.setVelocity(player.getEyeLocation().getDirection().setY(1)); -// passenger.setFallDistance(0f); - } - } -}