mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user