From 76405cb96855fd93b37e0d516d1bfd2860a99e72 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 28 Feb 2024 20:59:52 -0600 Subject: [PATCH] pet buff trouble shooting --- src/engine/gameManager/PowersManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index b7a68a33..f7dc23d2 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -241,6 +241,7 @@ public enum PowersManager { // ChatManager.chatSayInfo(pc, "Recycle timer not finished!"); Logger.warn("usePowerA(): Cheat attempted? '" + msg.getPowerUsedID() + "' recycle timer not finished " + playerCharacter.getName()); + ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(msg.getSourceID()), "Cheat Attempted?"); return false; } @@ -270,6 +271,7 @@ public enum PowersManager { // ChatManager.chatSayInfo(pc, "You may not cast that spell!"); Logger.info("usePowerA(): Cheat attempted? '" + msg.getPowerUsedID() + "' was not associated with " + playerCharacter.getName()); + ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(msg.getSourceID()), "Cheat Attempted2?"); return true; } } else