From 43d65679aea1868222cde823b48c1b4463952d5b Mon Sep 17 00:00:00 2001 From: TheCrunchy Date: Mon, 3 Jul 2023 19:40:35 +0100 Subject: [PATCH] . --- bin/siegeCore/ClickHandler.class | Bin 13902 -> 13948 bytes bin/siegeCore/SiegeEquipment.class | Bin 8223 -> 8223 bytes src/siegeCore/ClickHandler.java | 6 ++++++ src/siegeCore/SiegeEquipment.java | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/siegeCore/ClickHandler.class b/bin/siegeCore/ClickHandler.class index dd7e13126daf4b8cc72bd8979abd05b026caa6ef..db188a5fb11f8c17d8801c22b8aee45c20794fbc 100644 GIT binary patch delta 808 zcmc(bT};h!7{@=~zfS)mORCcenaHAbIyn}y|8Q;Td3v9g&Q~S+&sVUo_(L+^Zh)L=85K;53^$%h{Xju z!jWvB?`UdN4`;=F3d{XHTo9c^U!yu)k&_&D{pBs^Z<%)nDOQ8TS?wc(e*8Qqmlx#o zk|JJF#Q?i_O&xDI#ar6UcaeAaY@�s~x1V(B5fvn>%P)X^0pc`>~$8G}xYeLNwBZ z$EM2Es)ExteAukTc&13j<06+6jv<_bDZGC=E``5)lVrNIyDACS1iXpE+^|jYpnvAx z|2OlHB^);95o3OD89!LMF=PH{%%6<;voU`$<{@ML`ahYwYXZldmT^1ZchdPm4nHYj zf}KoKWfyOdI3kDRisFnsv?-c)#SqpkE-Q{M&8Axk^lC1TmB=$C(JwCp@-e7+j3|v! zEn-~ha`jo%2A~Ps#UHIXoXr7)Jd(>b>-=SIU-uE zLDQpJD&nCkf^yM`JyQ%y>;fXO-(ewx?% E3mdDQuK)l5 delta 744 zcmchVO-Phc6o#Mo^XJRSY6^A6`~l0T>|@DU8xJ#Etf&aw1R-?2<4>lcuJgSH1M28Ua*@{j`EUT z%b#P6uvONOZQ4f(rMAvRH@Su8BE4ZAj&*A14hO8iM}lq+l4V^RbW*46>=CQX*hHq^ z5zPz7ab4un>$p_AoOKy+RR?~5w7`!=0{`OZiTs6Q+@`;>xvy>FTjQ88j(5iK-Z-X= zW864C{6CJt{^&6$_0bIYL>ZrnFijm_Xyq$yd^eMR(8CPJndLM;Id47=$iY_@mzB*8 z^JY-<8B#8fw16jCNLoQgwS+O{F`*EXTFN&S$x*QusYGFws!(NGu4VE}E9+IRDy>wl zR;fj+wNDi~q%}%e`h+67s;KTOreUqsn8lM?=b-gYjw+p?s+@dnaEfeig=z-V@gXO* znJjH#v1$ovE5+JIiMCUrdScqaMm3O7Bb{pEuy%4$&0JD~D{3*GUEEbG57owFwKJkU j# diff --git a/bin/siegeCore/SiegeEquipment.class b/bin/siegeCore/SiegeEquipment.class index ef42933435f5b22100bfbaebc3edcb4b9a2cfaa8..ec5ce08c3cc659e2a3853afeddac0bf179408dac 100644 GIT binary patch delta 14 VcmbR5FyCPVlQ<*uW@d32P5>eZ1AYJi delta 14 VcmbR5FyCPVlQ<*GW@d32P5>ef1AhPj 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;