mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 14:42:22 -07:00
SPIGOT-4608: Improve quality of MapMeta APIs
This commit is contained in:
@@ -1244,7 +1244,7 @@ public final class CraftServer implements Server {
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public CraftMapView getMap(short id) {
|
||||
public CraftMapView getMap(int id) {
|
||||
PersistentCollection collection = console.getWorldServer(DimensionManager.OVERWORLD).worldMaps;
|
||||
WorldMap worldmap = (WorldMap) collection.get(DimensionManager.OVERWORLD, WorldMap::new, "map_" + id);
|
||||
if (worldmap == null) {
|
||||
|
Reference in New Issue
Block a user