[SPIGOT-2790] Bukkit.createMap(World) always returns a MapView with ID 0 Created: 18/Nov/16 Updated: 18/Nov/16 Resolved: 18/Nov/16 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | trainphreak | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | id, mapview | ||
| Environment: |
Freshly compiled Spigot server built with BuildTools #55. No plugins were running other than the attached demo plugin. |
||
| Attachments: |
|
| Description |
|
- After calling Bukkit.createMap(World) [which returns a MapView], calling MapView.getId() on the returned object will always return a value of zero. There was a demo plugin that was attached to 1569 that I have reattached here for convenience. I have repasted the decompiled plugin code here as the paste linked in 1569 no longer exists. The only editing I did was for formatting. The latest.log |