mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 21:40:30 -07:00
Remove more prototype code
This commit is contained in:
parent
ed78e9908e
commit
7613080b2e
2 changed files with 1 additions and 1 deletions
|
|
@ -139,6 +139,7 @@ public class PluginRepository {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void OnMiniMenuCreate() {
|
public static void OnMiniMenuCreate() {
|
||||||
|
API.customMiniMenuIndex = 0;
|
||||||
loadedPlugins.values().forEach((plugin) -> plugin.OnMiniMenuCreate(API.GetMiniMenuEntries()));
|
loadedPlugins.values().forEach((plugin) -> plugin.OnMiniMenuCreate(API.GetMiniMenuEntries()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,6 @@ class plugin : Plugin() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun OnMiniMenuCreate(currentEntries: Array<out MiniMenuEntry>) {
|
override fun OnMiniMenuCreate(currentEntries: Array<out MiniMenuEntry>) {
|
||||||
API.customMiniMenuIndex = 0;
|
|
||||||
var hasReportAbuse = false
|
var hasReportAbuse = false
|
||||||
for (entry in currentEntries) {
|
for (entry in currentEntries) {
|
||||||
if (entry.verb == "Report Abuse")
|
if (entry.verb == "Report Abuse")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue