public IntegratedServer( Minecraft par1Minecraft, String par2Str, String par3Str, WorldSettings par4WorldSettings) { super(new File(par1Minecraft.mcDataDir, "saves"), par1Minecraft.getProxy()); this.setServerOwner(par1Minecraft.getSession().getUsername()); this.setFolderName(par2Str); this.setWorldName(par3Str); this.setDemo(par1Minecraft.isDemo()); this.canCreateBonusChest(par4WorldSettings.isBonusChestEnabled()); this.setBuildLimit(256); this.setConfigurationManager(new IntegratedPlayerList(this)); this.mc = par1Minecraft; this.theWorldSettings = par4WorldSettings; Reflector.callVoid(Reflector.ModLoader_registerServer, new Object[] {this}); }