Fix a cases sensitivity bug in world loading.

This commit is contained in:
ElgarL 2012-08-03 08:54:06 +01:00
parent 76717350d6
commit 6064b9760b
2 changed files with 3 additions and 2 deletions

View file

@ -189,4 +189,5 @@ v 2.0:
- Ignore any sub folders in the Worlds folder which start with a period (fix for storing data in svn respoitories).
- Throw a better error than 'null' when someone removes all groups from a yml.
- Stop force removing attachments and let Bukkit handle it's own mess.
- Change to our own Yaml parsing for globalgroups instead of using the YAMLConfiguration class in bukkit.
- Change to our own Yaml parsing for globalgroups instead of using the YAMLConfiguration class in bukkit.
- Fix a cases sensitivity bug in world loading.

View file

@ -612,7 +612,7 @@ public class WorldsHolder {
throw new IllegalArgumentException("Users file for world '" + worldName + "' doesnt exist: " + usersFile.getPath());
}
WorldDataHolder tempHolder = new WorldDataHolder(worldName);
WorldDataHolder tempHolder = new WorldDataHolder(worldNameLowered);
// Map the group object for any mirror
if (mirrorsGroup.containsKey(worldNameLowered))