mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Hopefully fix the Gas Generator issue for good.
This commit is contained in:
1 parent
63101ade28
commit
d31ebf88eb
2 files changed
+8
-2
No files matched your search
@@ -218,7 +218,10 @@ public class GasTank
|
||||
stored = GasStack.readFromNBT(nbtTags.getCompoundTag("stored"));
|
||||
}
|
||||
|
||||
maxGas = nbtTags.getInteger("maxGas");
|
||||
if(nbtTags.hasKey("maxGas"))
|
||||
{
|
||||
maxGas = nbtTags.getInteger("maxGas");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user