mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 20:42:17 +00:00
Hopefully stop corruption hitting gas tanks.
This commit is contained in:
1 parent
e7f3204ed7
commit
417b072c66
1 file changed
+1
-1
@@ -218,7 +218,7 @@ public class GasTank
|
||||
stored = GasStack.readFromNBT(nbtTags.getCompoundTag("stored"));
|
||||
}
|
||||
|
||||
if(nbtTags.hasKey("maxGas"))
|
||||
if(nbtTags.hasKey("maxGas") && nbtTags.getInteger("maxGas") != 0)
|
||||
{
|
||||
maxGas = nbtTags.getInteger("maxGas");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user