Removed operating system check

This commit is contained in:
Jeroen Ketelaar
2014-03-07 12:58:50 +01:00
parent 2deef97864
commit 59f2df9086
-11
View File
@@ -15,7 +15,6 @@ public class Core {
private static boolean verbose; private static boolean verbose;
private static boolean dump; private static boolean dump;
private static boolean loadLocal; //Loads both local and public scripts/servers private static boolean loadLocal; //Loads both local and public scripts/servers
private static String OS = System.getProperty("os.name").toLowerCase();
/** /**
* Enabled loadLocal mode * Enabled loadLocal mode
@@ -87,16 +86,6 @@ public class Core {
} }
} }
/**
* Determines if user is using a windows OS
* @return <b>true</b> if user is using a windows OS
*/
public static boolean isWindows() {
return (OS.indexOf("win") >= 0);
}
/** /**
* Checks for updates. * Checks for updates.
* *