Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -168,6 +168,7 @@ import net.runelite.rs.api.RSWidget;
|
||||
import net.runelite.rs.api.RSWorld;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
|
||||
|
||||
@Mixin(RSClient.class)
|
||||
public abstract class RSClientMixin implements RSClient
|
||||
@@ -799,18 +800,18 @@ public abstract class RSClientMixin implements RSClient
|
||||
@Inject
|
||||
public static RSRuneLiteMenuEntry newBareRuneliteMenuEntry()
|
||||
{
|
||||
return null;
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Inject
|
||||
public static RSRuneLiteMenuEntry newRuneliteMenuEntry(int idx)
|
||||
{
|
||||
return null;
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public MenuEntry createMenuEntry(String option, String target, int identifier, int opcode, int param1, int param2)
|
||||
public MenuEntry createMenuEntry(String option, String target, int identifier, int opcode, int param1, int param2, boolean forceLeftClick)
|
||||
{
|
||||
RSRuneLiteMenuEntry menuEntry = newBareRuneliteMenuEntry();
|
||||
|
||||
@@ -821,6 +822,7 @@ public abstract class RSClientMixin implements RSClient
|
||||
menuEntry.setParam0(param1);
|
||||
menuEntry.setParam1(param2);
|
||||
menuEntry.setConsumer(null);
|
||||
menuEntry.setForceLeftClick(forceLeftClick);
|
||||
|
||||
return menuEntry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user