Fix error logging in FMLUserdevLaunchProvider.setup (#6206)

This commit is contained in:
iChun 2019-10-16 05:55:45 +08:00 committed by LexManos
parent 886de4ee43
commit 25a9e477cb

View file

@ -52,7 +52,7 @@ public abstract class FMLUserdevLaunchProvider extends FMLCommonLaunchHandler {
@Override
public void setup(final IEnvironment environment, final Map<String, ?> arguments) {
if (!forgeJar.getFileName().toString().endsWith(".jar")) {
LOGGER.fatal(CORE, "Userdev Launcher attempted to be used with non-jar version of Forge: {}" + forgeJar);
LOGGER.fatal(CORE, "Userdev Launcher attempted to be used with non-jar version of Forge: {}", forgeJar);
throw new RuntimeException("Userdev Launcher can only be used with dev-jar version of Forge");
}