Browse Source

pet buff trouble shooting

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
76405cb968
  1. 2
      src/engine/gameManager/PowersManager.java

2
src/engine/gameManager/PowersManager.java

@ -241,6 +241,7 @@ public enum PowersManager {
// ChatManager.chatSayInfo(pc, "Recycle timer not finished!"); // ChatManager.chatSayInfo(pc, "Recycle timer not finished!");
Logger.warn("usePowerA(): Cheat attempted? '" + msg.getPowerUsedID() + "' recycle timer not finished " + playerCharacter.getName()); Logger.warn("usePowerA(): Cheat attempted? '" + msg.getPowerUsedID() + "' recycle timer not finished " + playerCharacter.getName());
ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(msg.getSourceID()), "Cheat Attempted?");
return false; return false;
} }
@ -270,6 +271,7 @@ public enum PowersManager {
// ChatManager.chatSayInfo(pc, "You may not cast that spell!"); // ChatManager.chatSayInfo(pc, "You may not cast that spell!");
Logger.info("usePowerA(): Cheat attempted? '" + msg.getPowerUsedID() + "' was not associated with " + playerCharacter.getName()); Logger.info("usePowerA(): Cheat attempted? '" + msg.getPowerUsedID() + "' was not associated with " + playerCharacter.getName());
ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(msg.getSourceID()), "Cheat Attempted2?");
return true; return true;
} }
} else } else

Loading…
Cancel
Save