Compare commits

..

1 Commits

Author SHA1 Message Date
b13470ab93 Correctly use yIndex when regenerating plots in certain world configurations
- Fixes #3597
2022-05-08 16:55:10 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -278,7 +278,7 @@ public class BukkitRegionManager extends RegionManager {
int minY = value.getMin().getY();
for (int yIndex = 0; yIndex < ids.length; yIndex++) {
int y = yIndex + minY;
BaseBlock id = ids[y];
BaseBlock id = ids[yIndex];
if (id != null) {
value.setBlock(x1, y, z1, id);
} else {

View File

@ -8,13 +8,13 @@ guava = "31.0.1-jre" # Version set by Minecraft
paper = "1.18.1-R0.1-SNAPSHOT"
checker-qual = "3.22.0"
guice = "5.1.0"
spotbugs = "4.7.0"
spotbugs = "4.6.0"
snakeyaml = "1.30" # Version set by Bukkit
# Adventure & MiniMessage
adventure-api = "4.9.3"
adventure-text-minimessage = "4.1.0-SNAPSHOT"
adventure-platform-bukkit = "4.1.0"
adventure-platform-bukkit = "4.0.1"
# Plugins
worldedit = "7.2.10"