mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 12:42:50 +00:00
Temporary bandaid for thaumcraft brew integration. Closes #69.
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user