Fixed setProp x/y not teleporting on strict servers

This commit is contained in:
Anuken 2023-09-22 10:06:43 -04:00
parent 71e049d92d
commit f633fb0af5
13 changed files with 37 additions and 30 deletions

View file

@ -325,7 +325,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
for(int id : unitIds){
Unit unit = Groups.unit.getByID(id);
if(unit != null && unit.team == player.team() && unit.controller() instanceof CommandAI ai){
if(stance == UnitStance.stopStance){ //not a real stance, just cancels orders
if(stance == UnitStance.stop){ //not a real stance, just cancels orders
ai.clearCommands();
}else{
ai.stance = stance;