[SPIGOT-4880] Potion effects with unknown names. Created: 06/May/19  Updated: 06/May/19  Resolved: 06/May/19

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Eduardo Mior Assignee: md_5
Resolution: Fixed Votes: 0
Labels: 1.14, potion, potioneffect
Environment:

This server is running CraftBukkit version git-Spigot-4d24e36-5193f76 (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT).

Windows 7 ultimate version 6.1

Java version 1.8.0_201

amd64 Intel64 Family 6 Model 69 Stepping 1, GenuineIntel


Version: 1.14
Guidelines Read: Yes

 Description   

Potion effects BAD_OMEN and HERO_OF_THE VILLAGE are with unknown names.
If you use PotionEffectType.BAD_OMEN.getName () it will return UNKNOWF_EFFECT_TYPE_31.
If you try to use PotionEffectType.getByName ("BAD_OMEN") it will return null.


Generated at Thu Apr 03 16:05:38 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.