diff --git a/paper-api/src/main/java/org/bukkit/potion/Potion.java b/paper-api/src/main/java/org/bukkit/potion/Potion.java index 43e5694ce1..0d44ce0b39 100644 --- a/paper-api/src/main/java/org/bukkit/potion/Potion.java +++ b/paper-api/src/main/java/org/bukkit/potion/Potion.java @@ -310,7 +310,9 @@ public class Potion { * item stacks. * * @return The damage value of this potion + * @deprecated Magic value */ + @Deprecated public short toDamageValue() { short damage; if (type == PotionType.WATER) { diff --git a/paper-api/src/main/java/org/bukkit/potion/PotionType.java b/paper-api/src/main/java/org/bukkit/potion/PotionType.java index 5913ad7616..dab02935f9 100644 --- a/paper-api/src/main/java/org/bukkit/potion/PotionType.java +++ b/paper-api/src/main/java/org/bukkit/potion/PotionType.java @@ -58,11 +58,6 @@ public enum PotionType { return null; } - /** - * - * @deprecated Magic value - */ - @Deprecated public static PotionType getByEffect(PotionEffectType effectType) { if (effectType == null) return WATER;