feature: Overlays Settings GUI (Keep overlays through dimensions) (#610)

Signed-off-by: AzodFR <thjacque@student.42lyon.fr>
Co-authored-by: Théo Jacquelin <theo.jacquelin@ovhcloud.com>
This commit is contained in:
azodandThéo Jacquelin authored and GitHub committed 2025-03-13 17:48:25 +00:00
1 parent 83b4855f5e
commit b525760dd3
4 files changed
+16 -2

No files matched your search

@@ -338,8 +338,9 @@ public class ClientHandler {
public void loadWorld(World world, boolean fromServer) {
if (world != lastworld) {
SMPmagneticItems.clear();
WorldOverlayRenderer.reset();
if (!NEIClientConfig.getBooleanSetting("world.overlays.lock")) {
WorldOverlayRenderer.reset();
}
if (!fromServer) {
NEIClientConfig.setHasSMPCounterPart(false);
NEIClientConfig.setInternalEnabled(false);