removed duplicate log message
parent
e8d41c2c35
commit
08a09ef15b
|
@ -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))) {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue