xpdrops: fix hide skill icons
We need to have the underlaying child array to make and assign back a copy to remove skill icons
This commit is contained in:
@@ -92,7 +92,7 @@ public class XpDropPlugin extends Plugin
|
|||||||
private void processXpDrop(int widgetId)
|
private void processXpDrop(int widgetId)
|
||||||
{
|
{
|
||||||
final Widget xpdrop = client.getWidget(TO_GROUP(widgetId), TO_CHILD(widgetId));
|
final Widget xpdrop = client.getWidget(TO_GROUP(widgetId), TO_CHILD(widgetId));
|
||||||
final Widget[] children = xpdrop.getDynamicChildren();
|
final Widget[] children = xpdrop.getChildren();
|
||||||
// child 0 is the xpdrop text, everything else are sprite ids for skills
|
// child 0 is the xpdrop text, everything else are sprite ids for skills
|
||||||
final Widget text = children[0];
|
final Widget text = children[0];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user