ForgePatch/conf/patches/gk.java

11 lines
227 B
Java
Raw Normal View History

2012-08-01 23:35:35 +00:00
// this is needed for the sound engine to work with deobfuscated sourcecode without crashing
public class gk
{
public static int c(double d)
{
int i = (int)d;
return d >= (double)i ? i : i - 1;
}
}