summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/potion/Potion.java2
-rw-r--r--src/main/java/org/bukkit/potion/PotionType.java5
2 files changed, 2 insertions, 5 deletions
diff --git a/src/main/java/org/bukkit/potion/Potion.java b/src/main/java/org/bukkit/potion/Potion.java
index 43e5694c..0d44ce0b 100644
--- a/src/main/java/org/bukkit/potion/Potion.java
+++ b/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/src/main/java/org/bukkit/potion/PotionType.java b/src/main/java/org/bukkit/potion/PotionType.java
index 5913ad76..dab02935 100644
--- a/src/main/java/org/bukkit/potion/PotionType.java
+++ b/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;