Skip to content

Commit

Permalink
Fix Crash with GT 2.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Jul 9, 2024
1 parent 7fa188f commit 477d343
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import static gregtech.api.unification.material.Materials.*;
import static gregtech.api.unification.material.info.MaterialFlags.*;

import gregtech.api.fluids.FluidBuilder;
import gregtech.api.fluids.store.FluidStorageKeys;
import gregtech.api.unification.material.info.MaterialIconSet;
import gregtech.api.unification.material.properties.FluidProperty;
import gregtech.api.unification.material.properties.GemProperty;
Expand All @@ -23,12 +25,12 @@ public static void propertyChanges() {
Einsteinium.setProperty(PropertyKey.INGOT, new IngotProperty());
Graphite.setProperty(PropertyKey.INGOT, new IngotProperty());

Neptunium.setProperty(PropertyKey.FLUID, new FluidProperty());
Curium.setProperty(PropertyKey.FLUID, new FluidProperty());
Berkelium.setProperty(PropertyKey.FLUID, new FluidProperty());
Californium.setProperty(PropertyKey.FLUID, new FluidProperty());
Einsteinium.setProperty(PropertyKey.FLUID, new FluidProperty());
NetherStar.setProperty(PropertyKey.FLUID, new FluidProperty());
Neptunium.setProperty(PropertyKey.FLUID, new FluidProperty(FluidStorageKeys.LIQUID, new FluidBuilder()));
Curium.setProperty(PropertyKey.FLUID, new FluidProperty(FluidStorageKeys.LIQUID, new FluidBuilder()));
Berkelium.setProperty(PropertyKey.FLUID, new FluidProperty(FluidStorageKeys.LIQUID, new FluidBuilder()));
Californium.setProperty(PropertyKey.FLUID, new FluidProperty(FluidStorageKeys.LIQUID, new FluidBuilder()));
Einsteinium.setProperty(PropertyKey.FLUID, new FluidProperty(FluidStorageKeys.LIQUID, new FluidBuilder()));
NetherStar.setProperty(PropertyKey.FLUID, new FluidProperty(FluidStorageKeys.LIQUID, new FluidBuilder()));

// Cinnabar Got its Gems Removed for future Thaumcraft Compat.
// We don't have Thaumcraft. Add it back. (Part 2)
Expand Down

0 comments on commit 477d343

Please sign in to comment.