diff --git a/bin/siegeCore/ClickHandler.class b/bin/siegeCore/ClickHandler.class index dd7e131..db188a5 100644 Binary files a/bin/siegeCore/ClickHandler.class and b/bin/siegeCore/ClickHandler.class differ diff --git a/bin/siegeCore/SiegeEquipment.class b/bin/siegeCore/SiegeEquipment.class index ef42933..ec5ce08 100644 Binary files a/bin/siegeCore/SiegeEquipment.class and b/bin/siegeCore/SiegeEquipment.class differ diff --git a/src/siegeCore/ClickHandler.java b/src/siegeCore/ClickHandler.java index 9ffbfe6..0b3367c 100644 --- a/src/siegeCore/ClickHandler.java +++ b/src/siegeCore/ClickHandler.java @@ -207,6 +207,9 @@ public class ClickHandler implements Listener { public void AimUp(Player player, float amount) { for (Entity ent : CrunchSiegeCore.TrackedStands.get(player.getUniqueId())) { + if (ent.isDead()) { + continue; + } Location loc = ent.getLocation(); ArmorStand stand = (ArmorStand) ent; // player.sendMessage(String.format("" + loc.getPitch())); @@ -224,6 +227,9 @@ public class ClickHandler implements Listener { public void AimDown(Player player, float amount) { for (Entity ent : CrunchSiegeCore.TrackedStands.get(player.getUniqueId())) { + if (ent.isDead()) { + continue; + } Location loc = ent.getLocation(); ArmorStand stand = (ArmorStand) ent; // player.sendMessage(String.format("" + loc.getPitch())); diff --git a/src/siegeCore/SiegeEquipment.java b/src/siegeCore/SiegeEquipment.java index 54880f6..b7fb487 100644 --- a/src/siegeCore/SiegeEquipment.java +++ b/src/siegeCore/SiegeEquipment.java @@ -59,7 +59,7 @@ public class SiegeEquipment implements Cloneable { public Location location; public int ModelNumberToFireAt; public Boolean CycleThroughModelsBeforeFiring = false; - public Boolean RotateSideways = true; + public Boolean RotateSideways = false; public Boolean RotateUpDown = true; public Boolean HasFired = false;