Fixed snow layers not being able to stack more then twice. Closes #1534
This commit is contained in:
parent
cbcdbf56bb
commit
b4779be2f6
1 changed files with 13 additions and 0 deletions
13
patches/minecraft/net/minecraft/item/ItemSnow.java.patch
Normal file
13
patches/minecraft/net/minecraft/item/ItemSnow.java.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- ../src-base/minecraft/net/minecraft/item/ItemSnow.java
|
||||
+++ ../src-work/minecraft/net/minecraft/item/ItemSnow.java
|
||||
@@ -66,4 +66,10 @@
|
||||
{
|
||||
return p_77647_1_;
|
||||
}
|
||||
+
|
||||
+ public boolean func_179222_a(World world, BlockPos pos, EnumFacing side, EntityPlayer player, ItemStack stack)
|
||||
+ {
|
||||
+ IBlockState state = world.func_180495_p(pos);
|
||||
+ return (state.func_177230_c() != net.minecraft.init.Blocks.field_150431_aC || ((Integer)state.func_177229_b(BlockSnow.field_176315_a)) > 7) ? super.func_179222_a(world, pos, side, player, stack) : true;
|
||||
+ }
|
||||
}
|
Loading…
Reference in a new issue