Skip to content

Commit

Permalink
Get trees conf with method
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda committed Sep 29, 2020
1 parent 0cd90df commit 994e44d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private static boolean shouldIncludeInChain(BlockPos originPos, Block originBloc
if(parent.getTreePartType() == TreePartType.LOG && isSameTree(originBlock, check)){
return true;
}
if(FallingTree.config.trees.isBreakNetherTreeWarts()){
if(FallingTree.config.getTreesConfiguration().isBreakNetherTreeWarts()){
if(check.getTreePartType() == TreePartType.WART){
BlockPos checkBlockPos = check.getCheckPos();
int dx = Math.abs(originPos.getX() - checkBlockPos.getX());
Expand Down

0 comments on commit 994e44d

Please sign in to comment.