From 339b73ce6f246c2f5debe9e2747d59b5b8ffe8aa Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 1 Mar 2016 08:30:03 +1100 Subject: [PATCH] SPIGOT-1356: Clarify expectations about PotionEffectType.values(). By: md_5 --- paper-api/src/main/java/org/bukkit/potion/PotionEffectType.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-api/src/main/java/org/bukkit/potion/PotionEffectType.java b/paper-api/src/main/java/org/bukkit/potion/PotionEffectType.java index c0cae2b547..aa17528f1c 100644 --- a/paper-api/src/main/java/org/bukkit/potion/PotionEffectType.java +++ b/paper-api/src/main/java/org/bukkit/potion/PotionEffectType.java @@ -280,6 +280,7 @@ public abstract class PotionEffectType { /** * Returns an array of all the registered {@link PotionEffectType}s. + * This array is not necessarily in any particular order and may contain null. * * @return Array of types. */