mixins: renderWidgetLayer: skip hidden widgets

This commit is contained in:
Hydrox6
2019-04-19 13:51:40 +01:00
committed by Adam
parent 1cdb48406c
commit d7e0e11e73

View File

@@ -1335,7 +1335,7 @@ public abstract class RSClientMixin implements RSClient
for (Widget rlWidget : widgets) for (Widget rlWidget : widgets)
{ {
RSWidget widget = (RSWidget) rlWidget; RSWidget widget = (RSWidget) rlWidget;
if (widget == null || widget.getRSParentId() != parentId) if (widget == null || widget.getRSParentId() != parentId || widget.isSelfHidden())
{ {
continue; continue;
} }