mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Stopped unused wood types from showing up in NEI
This commit is contained in:
1 parent
75e6046dd7
commit
4051d7c686
1 file changed
+4
-1
@@ -124,6 +124,9 @@ public class BlockLog extends Block implements IWoodTyped {
|
||||
int oriented = meta & 12;
|
||||
|
||||
WoodType type = getWoodType(getTypeFromMeta(meta));
|
||||
if (type == null)
|
||||
return null;
|
||||
|
||||
switch (oriented) {
|
||||
case 4:
|
||||
if (side > 3)
|
||||
@@ -195,7 +198,7 @@ public class BlockLog extends Block implements IWoodTyped {
|
||||
if(meta + cat.ordinal() * 4 < WoodType.VALUES.length)
|
||||
return WoodType.VALUES[meta + cat.ordinal() * 4];
|
||||
else
|
||||
return WoodType.LARCH;
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user