Skip to content

Commit

Permalink
Adjust for if plot bedrock is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
dordsor21 committed Dec 12, 2023
1 parent d85e3f4 commit 8cd92c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ public void loadConfiguration(ConfigurationSection config) {

@Override
public int getMinComponentHeight() {
return COMPONENT_BELOW_BEDROCK && PLOT_BEDROCK && getMinGenHeight() >= getMinBuildHeight()
? getMinGenHeight() + 1
return COMPONENT_BELOW_BEDROCK && getMinGenHeight() >= getMinBuildHeight()
? getMinGenHeight() + (PLOT_BEDROCK ? 1 : 0)
: getMinBuildHeight();
}

Expand Down

0 comments on commit 8cd92c8

Please sign in to comment.