Skip to content

Commit

Permalink
fix: buildcraft facades being awful
Browse files Browse the repository at this point in the history
  • Loading branch information
bruberu committed Feb 9, 2024
1 parent 2a35cd8 commit aefeb61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public BlockPlanks.EnumType getWoodType(int i) {
}

public GTFOTree getTreeFromState(IBlockState state) {
if (state.getValue(VARIANT) + (offset * 4) > GTFOTree.TREES.size()) {
if (state.getValue(VARIANT) + (offset * 4) >= GTFOTree.TREES.size()) {
return GTFOTrees.LEMON_TREE; // Buildcraft again being awful
}
return GTFOTree.TREES.get(state.getValue(VARIANT) + (offset * 4));
Expand Down

0 comments on commit aefeb61

Please sign in to comment.