Changes

Summary

  1. SPIGOT-4586: Change PotionEffectType#value to not include null (details)
Commit 2b6f3d7f79bbe684764cdc14ac21aae6dfcd9cad by md_5 (md_5)
SPIGOT-4586: Change PotionEffectType#value to not include null
As the PotionEffectType class is containing a bunch of constant values
the values method now fits the general idea of the Enum#values method as
it no longer returns a null object at index 0
The file was modifiedsrc/main/java/org/bukkit/potion/PotionEffectType.java