flewkey
/
mc.2a03.party
Archived
1
0
Fork 0

Forgot to remove this

This commit is contained in:
flewkey 2019-06-01 19:59:43 -07:00
parent 89f42f6d2c
commit 29f6c16bcd
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 1 additions and 3 deletions

View File

@ -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();

View File

@ -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;