forked from 2009Scape/Server
Allow_aggro now persists across sessions
This commit is contained in:
parent
c1007683a5
commit
048a745371
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue