Merge pull request #239 from HeavyLvy/fix-issue-237
Fix issue #237 in BlastStoveBlockEntity
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user