Skip to content

Commit

Permalink
fix material tree crash (GregTechCEu#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
TechLord22 authored Feb 12, 2024
1 parent c6d494e commit 2539663
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public MaterialTree(Material material) {
}

List<FluidStack> matFluidsStack = new ArrayList<>();
if (material.hasProperty(PropertyKey.FLUID)) {
if (material.getFluid() != null) {
matFluidsStack.add(material.getFluid(1000));
}
this.fluidInputs.add(matFluidsStack);
Expand Down

0 comments on commit 2539663

Please sign in to comment.