mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-05 03:13:14 +01:00
Adjust for if plot bedrock is enabled
This commit is contained in:
parent
d85e3f443f
commit
8cd92c8ffa
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user