Fix list of region names for error indicating missing worlds

This commit is contained in:
Thijs Wiefferink 2018-04-02 20:00:00 +02:00
parent e3043c476b
commit cd63517041

View File

@ -1030,7 +1030,7 @@ public class FileManager extends Manager {
}
}
List<String> noWorldNames = new ArrayList<>();
for(GeneralRegion region : noRegion) {
for(GeneralRegion region : toDisplay) {
noWorldNames.add(region.getName());
}
AreaShop.warn("World " + missingWorld + " is not loaded, the following AreaShop regions are not functional now: " + Utils.createCommaSeparatedList(noWorldNames));