Fix Forge fluids not serializing properly. Closes #3152
This commit is contained in:
parent
f4e8804c8a
commit
7c4ffde39c
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue