package com.elytradev.movingworld.client;

import com.elytradev.movingworld.common.CommonProxy;
import com.elytradev.movingworld.common.config.MainConfig;
import net.minecraft.client.Minecraft;
import net.minecraft.world.World;

public class ClientProxy extends CommonProxy {

    public MainConfig syncedConfig;

    @Override
    public World getWorld(int id) {
        return Minecraft.getMinecraft().world;
    }
}

@@ -220,16 +220,71 @@
 d.World;
+%0Aimport net.minecraftforge.fml.common.FMLCommonHandler;
 %0A%0Apublic
@@ -412,16 +412,91 @@
 t id) %7B%0A
+        if (FMLCommonHandler.instance().getEffectiveSide().isClient())%0A    
         
@@ -533,16 +533,52 @@
 ).world;
+%0A%0A        return super.getWorld(id);
 %0A    %7D%0A%7D

Fix broken ClientProxy.