From 7a4134ca0819dffa8a47a5cc255fc057b74499e7 Mon Sep 17 00:00:00 2001 From: bushtail Date: Fri, 12 May 2023 23:52:49 -0400 Subject: [PATCH] rollback unrelated changes --- .../src/main/kotlin/IdentifyClueScrolls/plugin.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin-playground/src/main/kotlin/IdentifyClueScrolls/plugin.kt b/plugin-playground/src/main/kotlin/IdentifyClueScrolls/plugin.kt index f3fbf25..1b1fc67 100644 --- a/plugin-playground/src/main/kotlin/IdentifyClueScrolls/plugin.kt +++ b/plugin-playground/src/main/kotlin/IdentifyClueScrolls/plugin.kt @@ -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 -> {} } }