mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 06:43:05 +00:00
Fix fruit leaf rendering with Fast graphics
This commit is contained in:
1 parent
f597834198
commit
0ae4d1a54d
2 files changed
+2
-2
No files matched your search
@@ -137,7 +137,7 @@ public abstract class BlockDecorativeLeaves extends Block implements IShearable,
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public BlockRenderLayer getBlockLayer() {
|
||||
return Proxies.render.fancyGraphicsEnabled() ? BlockRenderLayer.CUTOUT_MIPPED : BlockRenderLayer.SOLID;
|
||||
return BlockRenderLayer.CUTOUT_MIPPED; // fruit overlays require CUTOUT_MIPPED, even in Fast graphics
|
||||
}
|
||||
|
||||
/* MODELS */
|
||||
|
||||
@@ -271,7 +271,7 @@ public class BlockForestryLeaves extends BlockLeaves implements ITileEntityProvi
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public BlockRenderLayer getBlockLayer() {
|
||||
return Proxies.render.fancyGraphicsEnabled() ? BlockRenderLayer.CUTOUT_MIPPED : BlockRenderLayer.SOLID;
|
||||
return BlockRenderLayer.CUTOUT_MIPPED; // fruit overlays require CUTOUT_MIPPED, even in Fast graphics
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user