diff --git a/KeysPerSecond/src/me/roan/kps/Configuration.java b/KeysPerSecond/src/me/roan/kps/Configuration.java index ded347ef..f4372054 100644 --- a/KeysPerSecond/src/me/roan/kps/Configuration.java +++ b/KeysPerSecond/src/me/roan/kps/Configuration.java @@ -448,6 +448,7 @@ private final boolean loadLegacyFormat(File saveloc){ } return true; } catch (Exception e1) { + e1.printStackTrace(); return false; } } diff --git a/KeysPerSecond/src/me/roan/kps/Main.java b/KeysPerSecond/src/me/roan/kps/Main.java index 5f9625ca..8a2bf7a2 100644 --- a/KeysPerSecond/src/me/roan/kps/Main.java +++ b/KeysPerSecond/src/me/roan/kps/Main.java @@ -161,7 +161,7 @@ public static void main(String[] args) { if(args.length >= 1){ config = args[0]; for(int i = 1; i < args.length; i++){ - config += args[i]; + config += " " + args[i]; } System.out.println("Attempting to load config: " + config); } diff --git a/KeysPerSecond/src/me/roan/kps/Menu.java b/KeysPerSecond/src/me/roan/kps/Menu.java index bebcfc5f..6f14ebbf 100644 --- a/KeysPerSecond/src/me/roan/kps/Menu.java +++ b/KeysPerSecond/src/me/roan/kps/Menu.java @@ -168,8 +168,8 @@ protected static final void createMenu(){ Rectangle bounds = Main.frame.getGraphicsConfiguration().getBounds(); Main.frame.setLocation(Math.abs(loc.x - bounds.x) < 100 ? bounds.x : Math.abs((loc.x + Main.frame.getWidth()) - (bounds.x + bounds.width)) < 100 ? bounds.x + bounds.width - Main.frame.getWidth() : loc.x, - Math.abs(loc.y - bounds.y) < 100 ? bounds.y : - Math.abs((loc.y + Main.frame.getHeight()) - (bounds.y + bounds.height)) < 100 ? bounds.y + bounds.height - Main.frame.getHeight() : loc.y); + Math.abs(loc.y - bounds.y) < 100 ? bounds.y : + Math.abs((loc.y + Main.frame.getHeight()) - (bounds.y + bounds.height)) < 100 ? bounds.y + bounds.height - Main.frame.getHeight() : loc.y); }); exit.addActionListener((e)->{ Main.exit(); diff --git a/KeysPerSecondNative/.settings/language.settings.xml b/KeysPerSecondNative/.settings/language.settings.xml deleted file mode 100644 index cab61a3f..00000000 --- a/KeysPerSecondNative/.settings/language.settings.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -