Fix Forge fluids not serializing properly. Closes #3152

This commit is contained in:
LexManos committed 2016-08-02 15:55:46 -07:00
1 parent f4e8804c8a
commit 7c4ffde39c
1 file changed
+6
@@ -171,6 +171,12 @@ public abstract class BlockFluidBase extends Block implements IFluidBlock
{
return state.getValue(LEVEL);
}
@Deprecated
public IBlockState getStateFromMeta(int meta)
{
return this.getDefaultState().withProperty(LEVEL, meta);
}
public BlockFluidBase setQuantaPerBlock(int quantaPerBlock)
{
if (quantaPerBlock > 16 || quantaPerBlock < 1) quantaPerBlock = 8;