Default to using 256 for world border locations to prevent old Chiss maps bugging out
This commit is contained in:
parent
9d01f6537e
commit
81aea0cfae
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user