Merge pull request #239 from HeavyLvy/fix-issue-237

Fix issue #237 in BlastStoveBlockEntity
This commit is contained in:
DrMangoTea
2025-09-18 23:45:37 +02:00
committed by GitHub

View File

@@ -350,6 +350,10 @@ public class BlastStoveBlockEntity extends FluidTankBlockEntity implements IHave
@SuppressWarnings("removal") @SuppressWarnings("removal")
public boolean addToGoggleTooltip(List<Component> tooltip, boolean isPlayerSneaking) { public boolean addToGoggleTooltip(List<Component> tooltip, boolean isPlayerSneaking) {
if (getControllerBE() == null) {
return false;
}
LangBuilder mb = CreateLang.translate("generic.unit.millibuckets"); LangBuilder mb = CreateLang.translate("generic.unit.millibuckets");
TFMGTexts.header("blast_stove").forGoggles(tooltip); TFMGTexts.header("blast_stove").forGoggles(tooltip);