Temporary bandaid for thaumcraft brew integration. Closes #69.

This commit is contained in:
Vincent Lee committed 2016-01-23 12:50:47 -06:00
1 parent fabedeb31a
commit b3a140b8dd
3 files changed
+7 -10

No files matched your search

@@ -67,12 +67,8 @@ public class ModBrews {
}
public static void initTC() {
Potion warpWardPotion = null;
for(Potion potion : GameData.getPotionRegistry().typeSafeIterable())
if(potion != null && potion.getName().equals("potion.warpward")) {
warpWardPotion = potion;
break;
}
Potion warpWardPotion = Potion.getPotionFromResourceLocation("minecraft:warp_ward");
// TODO thaumcraft 5 is currently registering its potions under the Minecraft namespace
if(warpWardPotion != null)
warpWard = new BrewMod(LibBrewNames.WARP_WARD, 0xFBBDFF, 25000, new PotionEffect(warpWardPotion.id, 12000, 0)).setNotBloodPendantInfusable();