Adjust for if plot bedrock is enabled

This commit is contained in:
dordsor21 2023-12-12 14:45:48 +00:00
parent d85e3f443f
commit 8cd92c8ffa
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -159,8 +159,8 @@ public abstract class ClassicPlotWorld extends SquarePlotWorld {
@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();
}