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:
Adam
2018-02-17 12:14:25 -05:00
parent 31a444c13f
commit 627f0da0b8

View File

@@ -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();