Add FlenixCities Food support to Jerky

Very minor tweak. Simply changed it so that if FlenixCitiesFood is found, it'll do exactly the same thing it does if Hunger Overhaul is found.
This commit is contained in:
Flenix committed 2014-02-07 19:27:00 +00:00
1 parent 6b62b76082
commit a166dafc7f
1 file changed
+7 -2
@@ -648,8 +648,13 @@ public class TContent implements IFuelHandler
GameRegistry.registerItem(TRepo.diamondApple, "diamondApple");
GameRegistry.registerItem(TRepo.strangeFood, "strangeFood");
GameRegistry.registerItem(TRepo.oreBerries, "oreBerries");
TRepo.jerky = new Jerky(Loader.isModLoaded("HungerOverhaul")).setUnlocalizedName("tconstruct.jerky");
boolean foodOverhaul;
if (Loader.isModLoaded("HungerOverhaul") || Loader.isModLoaded("fc_food")) {
foodOverhaul = true;
}
TRepo.jerky = new Jerky(foodOverhaul).setUnlocalizedName("tconstruct.jerky");
GameRegistry.registerItem(TRepo.jerky, "jerky");
//Wearables