use z not x

This commit is contained in:
dordsor21 2020-07-11 12:41:33 +01:00
parent ef58cf567b
commit eb9ed098bb
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -130,7 +130,7 @@ public class FaweRegionManager extends RegionManager {
clipboard.setBlocks(floorRegion, plotfloor); clipboard.setBlocks(floorRegion, plotfloor);
clipboard.setBlocks(airRegion, air); clipboard.setBlocks(airRegion, air);
for (int x = pos1.getX(); x <= pos2.getX(); x ++) { for (int x = pos1.getX(); x <= pos2.getX(); x ++) {
for (int z = pos1.getX(); z <= pos2.getX(); z ++) { for (int z = pos1.getZ(); z <= pos2.getZ(); z ++) {
clipboard.setBiome(BlockVector2.at(x, z), biome); clipboard.setBiome(BlockVector2.at(x, z), biome);
} }
} }