mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Removed operating system check
This commit is contained in:
@@ -15,7 +15,6 @@ public class Core {
|
||||
private static boolean verbose;
|
||||
private static boolean dump;
|
||||
private static boolean loadLocal; //Loads both local and public scripts/servers
|
||||
private static String OS = System.getProperty("os.name").toLowerCase();
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user