From 13a0ba0289f0801cfd0b41bda02d6e38606bd46f Mon Sep 17 00:00:00 2001 From: Ganom Date: Wed, 29 May 2019 18:58:43 -0400 Subject: [PATCH] Pepega 421 https://github.com/runelite-extended/runelite/pull/421 gotta uncomment shit out lol --- .../runelite/client/plugins/raids/RaidsPanel.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/raids/RaidsPanel.java b/runelite-client/src/main/java/net/runelite/client/plugins/raids/RaidsPanel.java index bff27fe610..737d245b82 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/raids/RaidsPanel.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/raids/RaidsPanel.java @@ -27,6 +27,7 @@ package net.runelite.client.plugins.raids; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.event.ActionEvent; +import java.lang.reflect.Method; import javax.inject.Inject; import javax.swing.BorderFactory; import javax.swing.JButton; @@ -81,23 +82,18 @@ public class RaidsPanel extends PluginPanel if ((client.getGameState() == GameState.LOGGED_IN)) { - - //todo once bytecodes work again, re-enable - -/* try + try { //look for client.gameStateChanged(-1); in src files to find Method m = client.getClass().getClassLoader().loadClass("ba").getDeclaredMethod("ec", int.class, byte.class); m.setAccessible(true); - m.invoke(null, 40, (byte)3); - - //TODO: Since this is mainly for raids i'd like to reload the raids scouting plugin after the dc is finished + m.invoke(null, 40, (byte) 3); } catch (ReflectiveOperationException f) { throw new RuntimeException(f); - }*/ + } } else {