Fixed position being shifted before being sent to shouldSideBeRendered.
This commit is contained in:
parent
e4da09df2a
commit
873899a62b
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
- return !pos.getBlockState(side.offset(p_176225_4_)).func_185914_p();
|
- 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)
|
@SideOnly(Side.CLIENT)
|
||||||
|
|
|
@ -110,7 +110,7 @@ public class ForgeBlockModelRenderer extends BlockModelRenderer
|
||||||
quads = model.func_188616_a(state, side, rand);
|
quads = model.func_188616_a(state, side, rand);
|
||||||
if(!quads.isEmpty())
|
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();
|
if(empty) lighter.updateBlockInfo();
|
||||||
empty = false;
|
empty = false;
|
||||||
|
|
Loading…
Reference in a new issue