Skip to content

Commit

Permalink
Correct some magic values. This amends 1f83111
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolvereness committed Sep 11, 2013
1 parent d7f00ee commit 30a9411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/bukkit/potion/Potion.java
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ public void setLevel(int level) {
* item stacks.
*
* @return The damage value of this potion
* @deprecated Magic value
*/
@Deprecated
public short toDamageValue() {
short damage;
if (type == PotionType.WATER) {
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/org/bukkit/potion/PotionType.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ public static PotionType getByDamageValue(int damage) {
return null;
}

/**
*
* @deprecated Magic value
*/
@Deprecated
public static PotionType getByEffect(PotionEffectType effectType) {
if (effectType == null)
return WATER;
Expand Down

0 comments on commit 30a9411

Please sign in to comment.