Skip to content

Commit

Permalink
Fix for saving unicode characters in YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
ME1312 committed Oct 18, 2018
1 parent a12e366 commit 097d63b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GalaxiEngine/src/META-INF/MANIFEST.MF
@@ -1,2 +1,2 @@
Manifest-Version: 1.0
Main-Class: net.ME1312.Galaxi.Engine.Standalone.App
Main-Class: net.ME1312.Galaxi.Engine.Standalone.StandaloneMode
Expand Up @@ -7,14 +7,13 @@

import java.io.File;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.text.DecimalFormat;
import java.util.Calendar;

/**
* Galaxi Standalone App
*/
public class App {
public class StandaloneMode {

/**
* Galaxi Standalone Launch Method
Expand All @@ -40,7 +39,7 @@ private static void start() {
int loaded = engine.getPluginManager().loadPlugins(new File(engine.getRuntimeDirectory(), "Plugins"));
log.info.println(loaded + " Plugin"+((loaded == 1)?"":"s") + " loaded in " + new DecimalFormat("0.000").format((Calendar.getInstance().getTime().getTime() - begin) / 1000D) + "s");

engine.start(App::stop);
engine.start(StandaloneMode::stop);
}
} catch (Exception e) {
e.printStackTrace();
Expand Down

0 comments on commit 097d63b

Please sign in to comment.