SPIGOT-4880: Potion effects with unknown names.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-05-07 09:22:45 +10:00
parent f2ce39c748
commit 4f21c71d98
2 changed files with 21 additions and 0 deletions

View File

@@ -84,6 +84,10 @@ public class CraftPotionEffectType extends PotionEffectType {
return "CONDUIT_POWER";
case 30:
return "DOLPHINS_GRACE";
case 31:
return "BAD_OMEN";
case 32:
return "HERO_OF_THE_VILLAGE";
default:
return "UNKNOWN_EFFECT_TYPE_" + getId();
}