mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix Forge fluids not serializing properly. Closes #3152
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user