mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-02-24 00:11:37 +01:00
Fix map name being compared instead of map-id. Fixes #51
This commit is contained in:
parent
a2cefd78aa
commit
53093a43ff
@ -255,7 +255,7 @@ private Optional<World> parseWorld(String worldName) {
|
||||
|
||||
private Optional<MapType> parseMap(String mapId) {
|
||||
for (MapType map : plugin.getMapTypes()) {
|
||||
if (map.getName().equalsIgnoreCase(mapId)) {
|
||||
if (map.getId().equalsIgnoreCase(mapId)) {
|
||||
return Optional.of(map);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user