mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-23 21:39:51 +00:00
Fix #262 crash from squeezer
This commit is contained in:
1 parent
9ec59e9dcd
commit
625b5038a5
1 file changed
+1
-1
@@ -65,7 +65,7 @@ public class TankWidget extends Widget {
|
||||
return;
|
||||
|
||||
FluidStack contents = getTank().getFluid();
|
||||
if (contents == null || contents.amount <= 0)
|
||||
if (contents == null || contents.amount <= 0 || contents.getFluid() == null)
|
||||
return;
|
||||
IIcon liquidIcon = contents.getFluid().getIcon(contents);
|
||||
if (liquidIcon == null)
|
||||
|
||||
Reference in new issue
Block a user