if(DEBUG){
boolean reachedSourceDir = false;
File temp = event.getModConfigurationDirectory();
while (!reachedSourceDir) {
if (new File(temp,"build.gradle").exists()) {
DEV_HOME = temp.getAbsolutePath();
reachedSourceDir = true;
break;
}
temp = temp.getParentFile();
}
LangHelper.registerNames();
LangHelper.setupLangFile();
}