[FIX][CRITICAL] Фикс java.util.IllegalFormatConversionException: d != java.lang.String в ServerWrapper

This commit is contained in:
Gravit 2019-04-28 11:39:43 +07:00
parent 446acf2181
commit 175df1796c
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -170,7 +170,7 @@ public void run(String... args) throws Throwable {
auth(); auth();
}; };
} }
LogHelper.info("ServerWrapper: Project %s, LaunchServer address: %s port %d. Title: %s", config.projectname, config.websocket.address, config.title); LogHelper.info("ServerWrapper: Project %s, LaunchServer address: %s. Title: %s", config.projectname, config.websocket.address, config.title);
LogHelper.info("Minecraft Version (for profile): %s", wrapper.profile == null ? "unknown" : wrapper.profile.getVersion().name); LogHelper.info("Minecraft Version (for profile): %s", wrapper.profile == null ? "unknown" : wrapper.profile.getVersion().name);
LogHelper.info("Start Minecraft Server"); LogHelper.info("Start Minecraft Server");
LogHelper.debug("Invoke main method %s", mainClass.getName()); LogHelper.debug("Invoke main method %s", mainClass.getName());