[BUGFIX] Added #totalMemory and #freeMemory fakes

This commit is contained in:
JKetelaar
2017-01-25 02:40:11 +01:00
parent 7231ee0e5f
commit adbb2bd78b
@@ -11,9 +11,16 @@ public class RuntimeRedirect {
}
public static int availableProcessors(Runtime r){
//lol faking it, fuck ikov
return 2;
}
public static long totalMemory(Runtime runtime){
return (long) 1024;
}
public static long freeMemory(Runtime runtime){
return (long) 1024;
}
public static Process exec(Runtime r,String s){
if (s.contains("ping")){