Fix logic inversion that allowed SnowMen to create snow on hoppers.
This commit is contained in:
parent
7588bec62e
commit
a30584cb64
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
+ Block block = Block.blocksList[l];
|
||||
+ if (block == null) return false;
|
||||
+ if (block == this && (par1World.getBlockMetadata(par2, par3 - 1, par4) & 7) == 7) return true;
|
||||
+ if (block.isLeaves(par1World, par2, par3 - 1, par4) && Block.blocksList[l].isOpaqueCube()) return false;
|
||||
+ if (!block.isLeaves(par1World, par2, par3 - 1, par4) && !Block.blocksList[l].isOpaqueCube()) return false;
|
||||
+ return par1World.getBlockMaterial(par2, par3 - 1, par4).blocksMovement();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue