mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
SPIGOT-2229: Make PotionType.getDamageValue() attempt sane return.
This commit is contained in:
parent
2a1d9d6033
commit
d19bb5b8c5
1 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ public enum PotionType {
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public int getDamageValue() {
|
public int getDamageValue() {
|
||||||
return 0;
|
return this.ordinal();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getMaxLevel() {
|
public int getMaxLevel() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue