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 {