Merge pull request #437 from runelite-extended/gandolf-is-banned-for-2-days-lets-celebrate
Fix Raids DC Scout
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user