From 048a745371ec6f160f425032062cf0ede85ce065 Mon Sep 17 00:00:00 2001 From: Pine Stone Date: Mon, 5 Jun 2023 06:48:57 +0000 Subject: [PATCH] Allow_aggro now persists across sessions --- .../src/main/core/game/system/command/sets/MiscCommandSet.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/main/core/game/system/command/sets/MiscCommandSet.kt b/Server/src/main/core/game/system/command/sets/MiscCommandSet.kt index dc63825c9..8c0dd1a32 100644 --- a/Server/src/main/core/game/system/command/sets/MiscCommandSet.kt +++ b/Server/src/main/core/game/system/command/sets/MiscCommandSet.kt @@ -668,8 +668,8 @@ class MiscCommandSet : CommandSet(Privilege.ADMIN){ reject(player, usageStr) } when(args[1]) { - "true" -> player.setAttribute("allow_admin_aggression", true) - "false" -> player.removeAttribute("allow_admin_aggression") + "true" -> player.setAttribute("/save:allow_admin_aggression", true) + "false" -> player.setAttribute("/save:allow_admin_aggression", false) else -> reject(player, usageStr) }