Correct some magic values. This amends 1f83111208

This commit is contained in:
Wesley Wolfe
2013-09-04 17:01:02 -05:00
parent d7f00eea09
commit 30a9411199
2 changed files with 2 additions and 5 deletions

View File

@@ -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) {

View File

@@ -58,11 +58,6 @@ public enum PotionType {
return null;
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public static PotionType getByEffect(PotionEffectType effectType) {
if (effectType == null)
return WATER;