[SPIGOT-1569] Bukkit.createMap() only returns the map with id 0 Created: 01/Mar/16  Updated: 18/Nov/16  Resolved: 01/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Fupery Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.9, api, bukkit
Environment:

Freshly created Spigot 1.9 server, built with the latest BuildTools (#49), with no other plugins running.


Attachments: File MapCreateTest.jar     PNG File World map data folder.png     Text File latest.log    

 Description   

Calling Bukkit.createMap() returns the same map (with a Map ID 0) every time without fail. Additionally, no new map data files are created in the /world/data folder.

I made a little plugin in order to replicate this issue - running the command /mapTest <worldName> attempts to create five new maps and returns data from the returned maps to the commandSender.

The code for this plugin can be found here.


Generated at Sat Dec 13 13:34:58 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.