package org.pfaa.geologica.integration;

import org.pfaa.chemica.model.Strength;

import cpw.mods.fml.common.Loader;

public class GTIntegration {
	public static boolean isGregtechInstalled() {
		return Loader.isModLoaded("gregtech");
	}

	public static float getDefaultInitialStoneToolDamage(Strength strength) {
		float damage;
		switch(strength) {
		case WEAK:
			damage = 0.2F;
			break;
		case MEDIUM:
			damage = 0.1F;
			break;
		default:
			damage = 0F;
		}
		return damage;
	}
}

@@ -79,164 +79,42 @@
 h;%0A%0A
-import cpw.mods.fml.common.Loader;%0A%0Apublic class GTIntegration %7B%0A%09public static boolean isGregtechInstalled() %7B%0A%09%09return Loader.isModLoaded(%22gregtech%22);%0A%09%7D%0A
+public class GregtechIntegration %7B
 %0A%09pu

update GT integration