mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
rollback unrelated changes
This commit is contained in:
parent
3f2eaa2eac
commit
7a4134ca08
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import plugin.Plugin
|
|||
import plugin.annotations.PluginMeta
|
||||
import plugin.api.MiniMenuEntry
|
||||
import plugin.api.MiniMenuType
|
||||
import rt4.ObjTypeList
|
||||
|
||||
@PluginMeta(
|
||||
author = "bushtail",
|
||||
|
|
@ -16,6 +17,7 @@ class plugin : Plugin() {
|
|||
when(entry?.type) {
|
||||
MiniMenuType.OBJ -> {
|
||||
val index = entry.subjectIndex
|
||||
val def = ObjTypeList.get(index.toInt())
|
||||
if(entry.verb.equals("read", true)) {
|
||||
if(EASY.contains(index.toInt())) {
|
||||
entry.subject = entry.subject + " (easy)"
|
||||
|
|
@ -26,7 +28,6 @@ class plugin : Plugin() {
|
|||
}
|
||||
}
|
||||
}
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue