mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 06:14:46 +00:00
Update BlockPlanks.java
This commit is contained in:
1 parent
f52059640e
commit
4b43ee9e8e
1 file changed
+4
-1
@@ -45,7 +45,10 @@ public class BlockPlanks extends BlockWood {
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public IIcon getIcon(int side, int meta) {
|
||||
return IconProviderWood.getPlankIcon(EnumWoodType.LARCH);
|
||||
EnumWoodType woodType = EnumWoodType.LARCH;
|
||||
if (meta > 0 && meta < EnumWoodType.VALUES.length)
|
||||
woodType = EnumWoodType.VALUES[meta];
|
||||
return IconProviderWood.getPlankIcon(woodType);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user