forked from 2009Scape/Server
::itemsearch now usable by everyone
This commit is contained in:
parent
3838f01adf
commit
f75577d41d
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ class DevelopmentCommandSet : CommandSet(Privilege.ADMIN) {
|
|||
}
|
||||
}
|
||||
|
||||
define("itemsearch") {player, args ->
|
||||
define("itemsearch", Privilege.STANDARD, "itemsearch name", "Searches for items that match the name.") {player, args ->
|
||||
val itemName = args.copyOfRange(1, args.size).joinToString(" ").lowercase()
|
||||
for (i in 0 until 15000) {
|
||||
val name = getItemName(i).lowercase()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue