From b5f51a06d1c905419fa04f24adf7fc792c71de64 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 23 Nov 2018 11:50:32 +1100 Subject: [PATCH] SPIGOT-4496: Undeprecate MapView.getId and make int By: md_5 --- paper-api/src/main/java/org/bukkit/map/MapView.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/map/MapView.java b/paper-api/src/main/java/org/bukkit/map/MapView.java index 18a9936f13..e152d0768d 100644 --- a/paper-api/src/main/java/org/bukkit/map/MapView.java +++ b/paper-api/src/main/java/org/bukkit/map/MapView.java @@ -2,6 +2,7 @@ package org.bukkit.map; import java.util.List; import org.bukkit.World; +import org.bukkit.inventory.meta.MapMeta; /** * Represents a map item. @@ -56,14 +57,11 @@ public interface MapView { } /** - * Get the ID of this map item. Corresponds to the damage value of a map - * in an inventory. + * Get the ID of this map item for use with {@link MapMeta}. * * @return The ID of the map. - * @deprecated Magic value */ - @Deprecated - public short getId(); + public int getId(); /** * Check whether this map is virtual. A map is virtual if its lowermost