inLined single line methods for code clarity.

This commit is contained in:
2023-08-20 15:26:24 -04:00
parent bed99dce62
commit 2d0116a9d9
13 changed files with 39 additions and 56 deletions
@@ -47,7 +47,7 @@ public class FearPowerAction extends AbstractPowerAction {
//verify is mob, not pet or guard
Mob mob = (Mob) awo;
if (!mob.isMob())
if (!(mob.agentType.equals(Enum.AIAgentType.MOBILE)))
return;
//make sure mob isn't too high level