interface styles: invalidate healthbar cache on shutdown
The padding needs to be reset for the normal healthbar
This commit is contained in:
@@ -94,6 +94,8 @@ public class InterfaceStylesPlugin extends Plugin
|
|||||||
removeGameframe();
|
removeGameframe();
|
||||||
healthBarOverride = null;
|
healthBarOverride = null;
|
||||||
client.setHealthBarOverride(null);
|
client.setHealthBarOverride(null);
|
||||||
|
NodeCache heathBarCache = client.getHealthBarCache();
|
||||||
|
heathBarCache.reset(); // invalidate healthbar cache so padding resets
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user