mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
No longer crashes when loaded with TC6 beta. Note that this is just a crash-prevention fix, the actual integration still needs modernizing
This commit is contained in:
1 parent
123e35d444
commit
ed72ff3d5f
4 files changed
+27
-45
No files matched your search
@@ -68,8 +68,7 @@ public class ModBrews {
|
||||
}
|
||||
|
||||
public static void initTC() {
|
||||
Potion warpWardPotion = Potion.REGISTRY.getObject(new ResourceLocation("minecraft:warp_ward"));
|
||||
// thaumcraft 5 is registering its potions under the Minecraft namespace
|
||||
Potion warpWardPotion = Potion.REGISTRY.getObject(new ResourceLocation("thaumcraft:warpward"));
|
||||
|
||||
if(warpWardPotion != null)
|
||||
warpWard = new BrewMod(LibBrewNames.WARP_WARD, 0xFBBDFF, 25000, new PotionEffect(warpWardPotion, 12000, 0)).setNotBloodPendantInfusable();
|
||||
|
||||
Reference in new issue
Block a user