More Cleanup

This commit is contained in:
Kam committed 2025-05-20 13:53:32 -04:00
1 parent 43bc1eb81f
commit ae7e7018c5
12 files changed
+39 -42

No files matched your search

@@ -522,12 +522,12 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
return npc.stats.aimType == 1;
}
public void aimWhileShooting(boolean aimWhileShooting){
public void aimWhileShooting(boolean aimWhileShooting) {
npc.stats.aimType = (byte) (aimWhileShooting ? 1 : 0);
}
public void setAimType(byte aimWhileShooting) {
if(aimWhileShooting < 0 || aimWhileShooting > 2)
if (aimWhileShooting < 0 || aimWhileShooting > 2)
return;
npc.stats.aimType = aimWhileShooting;
}