mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
SPIGOT-4496: Undeprecate MapView.getId and make int
This commit is contained in:
parent
de33ade0af
commit
7137829e0d
1 changed files with 3 additions and 5 deletions
|
@ -2,6 +2,7 @@ package org.bukkit.map;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
import org.bukkit.inventory.meta.MapMeta;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a map item.
|
* 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
|
* Get the ID of this map item for use with {@link MapMeta}.
|
||||||
* in an inventory.
|
|
||||||
*
|
*
|
||||||
* @return The ID of the map.
|
* @return The ID of the map.
|
||||||
* @deprecated Magic value
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
public int getId();
|
||||||
public short getId();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check whether this map is virtual. A map is virtual if its lowermost
|
* Check whether this map is virtual. A map is virtual if its lowermost
|
||||||
|
|
Loading…
Add table
Reference in a new issue