diff --git a/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageByEntityListener.java b/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageByEntityListener.java index df68df4..6f5e970 100644 --- a/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageByEntityListener.java +++ b/src/main/java/de/zoeyvid/stacker/Listener/EntityDamageByEntityListener.java @@ -16,7 +16,7 @@ public void onEntityDamageByEntity(EntityDamageByEntityEvent event) { if(!player.isEmpty() && loadConfig.throwable()) { event.setCancelled(true); Player passenger = (Player) player.getPassengers().get(0); - getVelocity.put(passenger, player.getEyeLocation().getDirection().setY(1)); + main.getVelocity.put(passenger, player.getEyeLocation().getDirection().setY(1)); player.eject(); } }