interface styles: invalidate healthbar cache on shutdown

The padding needs to be reset for the normal healthbar
This commit is contained in:
Adam
2019-04-25 10:09:00 -04:00
parent 6f6832df7e
commit 927e02ff05

View File

@@ -94,6 +94,8 @@ public class InterfaceStylesPlugin extends Plugin
removeGameframe();
healthBarOverride = null;
client.setHealthBarOverride(null);
NodeCache heathBarCache = client.getHealthBarCache();
heathBarCache.reset(); // invalidate healthbar cache so padding resets
});
}