Fix Gas Generator item gas tank restoration.

This commit is contained in:
Ben Spiers committed 2014-08-28 20:00:56 +01:00
1 parent e16a39912e
commit e3fc694532
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
}