From 3bd4e754223743512f5e70aec1958cab1af4148b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 2 Apr 2024 12:38:19 -0400 Subject: [PATCH] Debug string --- src/engine/net/client/handlers/AttackCmdMsgHandler.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/AttackCmdMsgHandler.java b/src/engine/net/client/handlers/AttackCmdMsgHandler.java index 7676ee6e..d5d1a0bd 100644 --- a/src/engine/net/client/handlers/AttackCmdMsgHandler.java +++ b/src/engine/net/client/handlers/AttackCmdMsgHandler.java @@ -12,6 +12,7 @@ import engine.objects.AbstractWorldObject; import engine.objects.Mob; import engine.objects.NPC; import engine.objects.PlayerCharacter; +import org.pmw.tinylog.Logger; /* * @Author: @@ -68,8 +69,10 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler { return true; // cannot attack a null target } - if (playerCharacter.isCombat() && playerCharacter.getCombatTarget().equals(target)) + if (playerCharacter.isCombat() && playerCharacter.getCombatTarget().equals(target)) { + Logger.info("Bypass"); return true; + } //set sources target