aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0378-fix-Instruments.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0378-fix-Instruments.patch')
-rw-r--r--patches/api/0378-fix-Instruments.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/api/0378-fix-Instruments.patch b/patches/api/0378-fix-Instruments.patch
index 0bffaca02f..3ce4ac68fa 100644
--- a/patches/api/0378-fix-Instruments.patch
+++ b/patches/api/0378-fix-Instruments.patch
@@ -7,7 +7,7 @@ Add missing instrument enums
fix some wrong javadocs
diff --git a/src/main/java/org/bukkit/Instrument.java b/src/main/java/org/bukkit/Instrument.java
-index 032d7b812ddc0a85e316882c8f7de0c5a0a4fd30..8df26e0d7bea77bb257cddbc2ab9e969fa160681 100644
+index 90bf1521e5b8b6c6d47489145e116f2a43fd3250..8df26e0d7bea77bb257cddbc2ab9e969fa160681 100644
--- a/src/main/java/org/bukkit/Instrument.java
+++ b/src/main/java/org/bukkit/Instrument.java
@@ -7,7 +7,7 @@ import org.jetbrains.annotations.Nullable;
@@ -82,7 +82,7 @@ index 032d7b812ddc0a85e316882c8f7de0c5a0a4fd30..8df26e0d7bea77bb257cddbc2ab9e969
* @return The type ID of this instrument.
- * @deprecated Magic value
*/
-- @Deprecated
+- @Deprecated(since = "1.6.2")
+ @org.jetbrains.annotations.ApiStatus.Internal // Paper
public byte getType() {
return this.type;
@@ -93,7 +93,7 @@ index 032d7b812ddc0a85e316882c8f7de0c5a0a4fd30..8df26e0d7bea77bb257cddbc2ab9e969
* @return The instrument
- * @deprecated Magic value
*/
-- @Deprecated
+- @Deprecated(since = "1.6.2")
+ @org.jetbrains.annotations.ApiStatus.Internal // Paper
@Nullable
public static Instrument getByType(final byte type) {