removed duplicate log message

master
Stefan Dollase 2017-06-02 13:19:09 +02:00
parent e8d41c2c35
commit 08a09ef15b
2 changed files with 2 additions and 6 deletions

View File

@ -89,8 +89,8 @@ public class LocalProfileComponent extends ProfileComponent {
// TODO: Replace with proper handling for modded profiles.
try {
AmidstLogger.info(
"using minecraft launcher profile '" + getProfileName() + "' with versionId '" + getVersionName()
+ "'");
"using minecraft launcher profile '" + resolvedProfile.getProfileName() + "' with versionId '"
+ resolvedProfile.getVersionId() + "'");
String possibleModProfiles = ".*(optifine|forge).*";
if (Pattern.matches(possibleModProfiles, getVersionName().toLowerCase(Locale.ENGLISH))) {

View File

@ -3,7 +3,6 @@ package amidst.mojangapi;
import java.io.IOException;
import amidst.documentation.ThreadSafe;
import amidst.logging.AmidstLogger;
import amidst.mojangapi.file.LauncherProfile;
import amidst.mojangapi.file.SaveGame;
import amidst.mojangapi.minecraftinterface.MinecraftInterface;
@ -21,9 +20,6 @@ import amidst.mojangapi.world.WorldType;
public class RunningLauncherProfile {
public static RunningLauncherProfile from(WorldBuilder worldBuilder, LauncherProfile launcherProfile)
throws LocalMinecraftInterfaceCreationException {
AmidstLogger.info(
"using launcher profile. version id: '" + launcherProfile.getVersionId() + "', profile name: '"
+ launcherProfile.getProfileName() + "', jar file: '" + launcherProfile.getJar() + "'");
return new RunningLauncherProfile(
worldBuilder,
launcherProfile,