Fix varbits to read the other settings[] array
The client appears to read "widgetSettings" though, but this breaks the attack indicator plugin This fixes a regression introduced in f8c7a8b1c0f19b1344937504b972c71fd052a2f4
This commit is contained in:
@@ -64,7 +64,7 @@ public abstract class VarbitMixin implements RSClient
|
||||
varbitCache.put(varbitId, v);
|
||||
}
|
||||
|
||||
int[] settings = getWidgetSettings();
|
||||
int[] settings = getSettings();
|
||||
int value = settings[v.getIndex()];
|
||||
int lsb = v.getLeastSignificantBit();
|
||||
int msb = v.getMostSignificantBit();
|
||||
|
||||
Reference in New Issue
Block a user