Make it so bots cannot be attacked by npcs

This commit is contained in:
RedSparr0w
2019-11-23 14:05:58 +13:00
parent 3a4895590e
commit 2683ab888b
3 changed files with 1 additions and 0 deletions
@@ -36,6 +36,7 @@ public class Bot {
botClient.saveCharacter = true;
botClient.isActive = true;
botClient.disconnected = false;
botClient.npcCanAttack = false;
Server.playerHandler.newPlayerClient(botClient);
botClient.getPlayerAssistant().movePlayer(x, y, z);