mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
Fix Gas Generator item gas tank restoration.
This commit is contained in:
1 parent
e16a39912e
commit
e3fc694532
2 files changed
+2
-2
No files matched your search
@@ -84,7 +84,7 @@ public class GasStack
|
||||
GasStack stack = new GasStack();
|
||||
stack.read(nbtTags);
|
||||
|
||||
if(stack.getGas() == null)
|
||||
if(stack.getGas() == null || stack.amount <= 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user