Merge pull request #1666 from TechStack/1.8

Fixes issue #1552 Where the flowIntoBlock method was not setting the Block to the fluid and causing crashes
This commit is contained in:
LexManos 2015-01-29 16:29:30 -06:00
commit a420927007
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ public class BlockFluidClassic extends BlockFluidBase
if (meta < 0) return;
if (displaceIfPossible(world, pos))
{
world.setBlockState(pos, world.getBlockState(pos).withProperty(LEVEL, meta), 3);
world.setBlockState(pos, this.getBlockState().getBaseState().withProperty(LEVEL, meta), 3);
}
}