Default to using 256 for world border locations to prevent old Chiss maps bugging out

This commit is contained in:
Sam 2018-08-22 11:49:18 +01:00 committed by Alexander Meech
parent 9d01f6537e
commit 81aea0cfae

View File

@ -38,7 +38,7 @@ public class MineplexWorld
{ {
List<String> lines = Files.readAllLines(new File(_world.getWorldFolder() + File.separator + "WorldConfig.dat").toPath()); List<String> lines = Files.readAllLines(new File(_world.getWorldFolder() + File.separator + "WorldConfig.dat").toPath());
List<Location> current = null; List<Location> current = null;
int minX = 0, minY = 0, minZ = 0, maxX = 0, maxY = 0, maxZ = 0; int minX = -256, minY = 0, minZ = -256, maxX = 256, maxY = 256, maxZ = 256;
for (String line : lines) for (String line : lines)
{ {