mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 23:26:45 +01:00
Realistically only need the "highest" y level of adding overlay block errors
This commit is contained in:
parent
e90fd231d9
commit
91017acce4
@ -500,7 +500,7 @@ public class HybridPlotWorld extends ClassicPlotWorld {
|
|||||||
int pair = MathMan.pair(x, z);
|
int pair = MathMan.pair(x, z);
|
||||||
BaseBlock[] existing = this.G_SCH.computeIfAbsent(pair, k -> new BaseBlock[height]);
|
BaseBlock[] existing = this.G_SCH.computeIfAbsent(pair, k -> new BaseBlock[height]);
|
||||||
if (y >= height) {
|
if (y >= height) {
|
||||||
if (y != lastOverlayHeightError) {
|
if (y > lastOverlayHeightError) {
|
||||||
lastOverlayHeightError = y;
|
lastOverlayHeightError = y;
|
||||||
LOGGER.error(String.format("Error adding overlay block. `y > height`. y=%s, height=%s", y, height));
|
LOGGER.error(String.format("Error adding overlay block. `y > height`. y=%s, height=%s", y, height));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user