Special case not drooping snowballs for water and snow layers. Closes #3326
This commit is contained in:
parent
9ecb005e98
commit
159ca09c54
2 changed files with 10 additions and 1 deletions
|
@ -9,3 +9,11 @@
|
|||
{
|
||||
IBlockState iblockstate = p_180650_1_.func_180495_p(p_180650_2_.func_177977_b());
|
||||
|
||||
@@ -166,6 +166,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
+ if (p_176375_3_.func_177230_c() != Blocks.field_150431_aC) //Forge: Vanilla has a 'bug' where snowballs don't drop like every other block. So special case because ewww...
|
||||
p_176375_3_.func_177230_c().func_176226_b(p_176375_1_, p_176375_2_, p_176375_3_, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -280,7 +280,8 @@ public abstract class BlockFluidBase extends Block implements IFluidBlock
|
|||
{
|
||||
if (displacements.get(block))
|
||||
{
|
||||
block.dropBlockAsItem(world, pos, state, 0);
|
||||
if (state.getBlock() != Blocks.SNOW_LAYER) //Forge: Vanilla has a 'bug' where snowballs don't drop like every other block. So special case because ewww...
|
||||
block.dropBlockAsItem(world, pos, state, 0);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue