diff options
Diffstat (limited to 'src/main/java/org/bukkit/Instrument.java')
-rw-r--r-- | src/main/java/org/bukkit/Instrument.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/Instrument.java b/src/main/java/org/bukkit/Instrument.java index a6806ead..dc7b4a0e 100644 --- a/src/main/java/org/bukkit/Instrument.java +++ b/src/main/java/org/bukkit/Instrument.java @@ -36,7 +36,9 @@ public enum Instrument { /** * @return The type ID of this instrument. + * @deprecated Magic value */ + @Deprecated public byte getType() { return this.type; } @@ -46,7 +48,9 @@ public enum Instrument { * * @param type The type ID * @return The instrument + * @deprecated Magic value */ + @Deprecated public static Instrument getByType(final byte type) { return BY_DATA.get(type); } |