diff --git a/src/de/steamwar/lobby/listener/ShieldListener.java b/src/de/steamwar/lobby/listener/ShieldListener.java index 9f7931f..eb50c61 100644 --- a/src/de/steamwar/lobby/listener/ShieldListener.java +++ b/src/de/steamwar/lobby/listener/ShieldListener.java @@ -18,7 +18,7 @@ public class ShieldListener implements Listener { double radius = 2.5D; double multiplyer = 1.1D; - float height = 0.8F; + float height = 1.0F; @EventHandler public void handlePlayerMove(PlayerMoveEvent event) { @@ -46,7 +46,7 @@ public class ShieldListener implements Listener { double y = location.getY() - playerLocation.getY(); double z = location.getZ() - playerLocation.getZ(); - entityPlayer.setVelocity(new Vector(x, y, z).multiply(multiplyer).add(new Vector(0.0F, height, 0.0F))); + entityPlayer.setVelocity(new Vector(x, y, z).multiply(multiplyer)/*.add(new Vector(0.0F, height, 0.0F))*/); } } else { for(Entity entity : nearbyEntities) { @@ -67,7 +67,7 @@ public class ShieldListener implements Listener { double y = playerLocation.getY() - location.getY(); double z = playerLocation.getZ() - location.getZ(); - player.setVelocity(new Vector(x, y, z).multiply(multiplyer).add(new Vector(0.0F, height, 0.0F))); + player.setVelocity(new Vector(x, y, z).multiply(multiplyer)/*.add(new Vector(0.0F, height, 0.0F))*/); } } }