mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Fixed position being shifted before being sent to shouldSideBeRendered.
This commit is contained in:
1 parent
e4da09df2a
commit
873899a62b
2 files changed
+2
-2
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user