mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
SPIGOT-2229: Make PotionType.getDamageValue() attempt sane return.
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -70,7 +70,7 @@ public enum PotionType {
|
||||
*/
|
||||
@Deprecated
|
||||
public int getDamageValue() {
|
||||
return 0;
|
||||
return this.ordinal();
|
||||
}
|
||||
|
||||
public int getMaxLevel() {
|
||||
|
Reference in New Issue
Block a user