1
0
mirror of https://github.com/zDevelopers/ImageOnMap.git synced 2025-04-18 01:45:54 +02:00

* BUG: Newly created maps now have their names assigned correctly.

This commit is contained in:
Prokopyl 2015-03-31 21:41:37 +02:00
parent 860fed25e5
commit ca8cebd0a0

View File

@ -58,7 +58,7 @@ public abstract class ImageMap implements ConfigurationSerializable
if(this.id == null)
{
if(this.name == null) this.name = DEFAULT_NAME;
this.id = MapManager.getNextAvailableMapID(name, userUUID);
this.id = MapManager.getNextAvailableMapID(this.name, userUUID);
}
}