ForgePatch/forge/conf/patches/gh.java
2012-03-04 03:06:56 -08:00

10 lines
237 B
Java

// this is needed for the sound engine to work with deobfuscated sourcecode without crashing
public class gh
{
public static int c(double d)
{
int i = (int)d;
return d >= (double)i ? i : i - 1;
}
}