optimized run time

This commit is contained in:
2025-02-04 17:03:46 -06:00
parent 7d1570fdca
commit 93a975dd42
6 changed files with 12 additions and 20 deletions
@@ -166,6 +166,9 @@ public enum PowersManager {
PlayerCharacter pc = SessionManager.getPlayerCharacter(origin);
if(pc == null)
return;
if(!pc.isFlying() && powersBaseByToken.get(msg.getPowerUsedID()) != null && powersBaseByToken.get(msg.getPowerUsedID()).isSpell) //cant be sitting if flying
CombatManager.toggleSit(false,origin);