Fixed position being shifted before being sent to shouldSideBeRendered.

This commit is contained in:
LexManos 2016-03-09 15:15:52 -08:00
parent e4da09df2a
commit 873899a62b
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@
}
- return !pos.getBlockState(side.offset(p_176225_4_)).func_185914_p();
+ return !pos.getBlockState(side.offset(p_176225_4_)).doesSideBlockRendering(pos, side, p_176225_4_);
+ return !pos.getBlockState(side.offset(p_176225_4_)).doesSideBlockRendering(pos, side.offset(p_176225_4_), p_176225_4_.getOpposite());
}
@SideOnly(Side.CLIENT)

View file

@ -110,7 +110,7 @@ public class ForgeBlockModelRenderer extends BlockModelRenderer
quads = model.func_188616_a(state, side, rand);
if(!quads.isEmpty())
{
if(!checkSides || state.func_185894_c(world, pos.offset(side), side))
if(!checkSides || state.func_185894_c(world, pos, side))
{
if(empty) lighter.updateBlockInfo();
empty = false;