mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-02 14:38:55 +00:00
.
This commit is contained in:
1 parent
b159cd799e
commit
43d65679ae
4 files changed
+7
-1
No files matched your search
@@ -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()));
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user