diff --git a/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageByEntityListener.java b/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageByEntityListener.java index d6ae5eaa..28249072 100644 --- a/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageByEntityListener.java +++ b/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageByEntityListener.java @@ -18,7 +18,7 @@ public void onEntityDamageByEntity(EntityDamageByEntityEvent event) { event.setCancelled(true); Player passenger = (Player) player.getPassengers().get(0); player.eject(); -// passenger.setVelocity(player.getEyeLocation().getDirection().setY(1)); + passenger.setVelocity(player.getEyeLocation().getDirection().setY(1)); // passenger.setFallDistance(0f); } }