Forgot to remove this
This commit is contained in:
parent
89f42f6d2c
commit
29f6c16bcd
@ -30,7 +30,7 @@
|
||||
dedicatedserver.func_213208_c(optionset.valueOf(optionspec11));
|
||||
boolean flag = !optionset.has(optionspec) && !optionset.valuesOf(optionspec12).contains("nogui");
|
||||
- if (flag && !GraphicsEnvironment.isHeadless()) {
|
||||
+ Config.initConfig(field_71305_c); //Patched
|
||||
+ Config.initConfig(field_71305_c); //Patched
|
||||
+ Config.loadConfig(); //Patched
|
||||
+ if (flag && !GraphicsEnvironment.isHeadless() && false) { //Patched
|
||||
dedicatedserver.func_120011_ar();
|
||||
|
@ -6,7 +6,6 @@ import java.io.FileWriter;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.InputStream;
|
||||
import java.util.Map;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.world.dimension.DimensionType;
|
||||
import net.minecraft.world.ServerWorld;
|
||||
import org.json.JSONObject;
|
||||
@ -21,7 +20,6 @@ public class Config {
|
||||
private static JSONObject json;
|
||||
private static final Logger logger = LogManager.getLogger();
|
||||
private static Map<DimensionType, ServerWorld> worlds = Maps.newIdentityHashMap();
|
||||
public static MinecraftServer server;
|
||||
|
||||
public static void initConfig(Map<DimensionType, ServerWorld> p_worlds) {
|
||||
worlds = p_worlds;
|
||||
|
Reference in New Issue
Block a user