mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-23 18:45:17 +01:00
Fixed missing lower case conversion for world name.
This commit is contained in:
parent
6800bdd3ce
commit
811918eec6
@ -101,7 +101,7 @@ public class LevelsData implements DataObject {
|
||||
*/
|
||||
public Long getLevel(World world) {
|
||||
initialize();
|
||||
return world == null ? 0L : levels.getOrDefault(world.getName(), 0L);
|
||||
return world == null ? 0L : levels.getOrDefault(world.getName().toLowerCase(Locale.ENGLISH), 0L);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user