From 3f35df39161d91079fc3a84c738c149ee28c19a9 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 26 Jun 2022 20:04:14 -0500 Subject: [PATCH] fixed crashing bug form my own mistake --- src/engine/ai/utilities/CombatUtilities.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/ai/utilities/CombatUtilities.java b/src/engine/ai/utilities/CombatUtilities.java index 2caca499..7da43567 100644 --- a/src/engine/ai/utilities/CombatUtilities.java +++ b/src/engine/ai/utilities/CombatUtilities.java @@ -346,8 +346,8 @@ public class CombatUtilities { } //System.out.println(agent.getMobBase().getFirstName() + " is casting: " + PowersManager.getPowerByToken(powerToken).skillName); PowersManager.applyPower(agent,target,target.getLoc(),powerToken,powerRank, false); - PerformActionMsg msg = new PerformActionMsg(); - PowersManager.sendPowerMsg((PlayerCharacter)target,0,msg); + //PerformActionMsg msg = new PerformActionMsg(); + //PowersManager.sendPowerMsg((PlayerCharacter)target,0,msg); //return; } }