fix layering issue in bcd screen
@@ -82,7 +82,6 @@ public class BlockChangeDetectorScreen extends AbstractContainerScreen<BlockChan
DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT, Locale.getDefault());
boolean isOwner = be.getOwner().isOwner(minecraft.player);
- addRenderableWidget(changeEntryList = new ChangeEntryList(minecraft, 160, 150, topPos + 20, leftPos + 8));
currentMode = be.getMode();
addRenderableWidget(modeButton = new ModeButton(leftPos + 173, topPos + 19, 20, 20, currentMode.ordinal(), DetectionMode.values().length, b -> {
currentMode = DetectionMode.values()[((ModeButton) b).getCurrentIndex()];
@@ -99,6 +98,7 @@ public class BlockChangeDetectorScreen extends AbstractContainerScreen<BlockChan
hoverCheckers[1] = new TextHoverChecker(modeButton, Arrays.stream(DetectionMode.values()).map(e -> (Component) Utils.localize(e.getDescriptionId())).toList());
hoverCheckers[2] = new TextHoverChecker(showAllCheckbox, Utils.localize("gui.securitycraft:block_change_detector.show_all_checkbox"));
smartModuleHoverChecker = isOwner ? new TextHoverChecker(topPos + 44, topPos + 60, leftPos + 174, leftPos + 191, Utils.localize("gui.securitycraft:block_change_detector.smart_module_hint")) : null;
+ addRenderableWidget(changeEntryList = new ChangeEntryList(minecraft, 160, 150, topPos + 20, leftPos + 8));
clearButton.active = modeButton.active = isOwner;
for (ChangeEntry entry : be.getEntries()) {
