upstream keyboard bankpin, enforce dev mode
This commit is contained in:
@@ -1023,6 +1023,7 @@ public interface Widget
|
|||||||
|
|
||||||
static boolean getDragParent(Widget widget)
|
static boolean getDragParent(Widget widget)
|
||||||
{
|
{
|
||||||
throw new UnsupportedOperationException("Implement");
|
System.out.println("ERROR: IMPLEMENT"); //Would throw but that breaks widget inspector
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -260,7 +260,7 @@ public class RuneLite
|
|||||||
ClassPreloader.preload();
|
ClassPreloader.preload();
|
||||||
}, "Preloader").start();
|
}, "Preloader").start();
|
||||||
|
|
||||||
final boolean developerMode = options.has("developer-mode") && RuneLiteProperties.getLauncherVersion() == null;
|
final boolean developerMode = true;
|
||||||
|
|
||||||
if (developerMode)
|
if (developerMode)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -590,6 +590,19 @@ public abstract class RSClientMixin implements RSClient
|
|||||||
return getWidget(groupId, childId);
|
return getWidget(groupId, childId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Inject
|
||||||
|
@Override
|
||||||
|
public Widget getWidget(int id)
|
||||||
|
{
|
||||||
|
for (WidgetInfo widgetInfo : WidgetInfo.values())
|
||||||
|
{
|
||||||
|
if (widgetInfo.getId() == id)
|
||||||
|
return getWidget(widgetInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
@Override
|
@Override
|
||||||
public RSWidget[] getGroup(int groupId)
|
public RSWidget[] getGroup(int groupId)
|
||||||
@@ -1968,11 +1981,5 @@ public abstract class RSClientMixin implements RSClient
|
|||||||
{
|
{
|
||||||
return this.outdatedScripts;
|
return this.outdatedScripts;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Widget getWidget(int i)
|
|
||||||
{
|
|
||||||
return getWidget(i, i);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user