SPIGOT-5753: Back PotionType by a minecraft registry
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -40,7 +40,9 @@ public interface PotionBrewer {
|
||||
* @param upgraded Whether the potion is upgraded
|
||||
* @param extended Whether the potion is extended
|
||||
* @return The list of effects
|
||||
* @deprecated Upgraded / extended potions are now their own {@link PotionType} use {@link PotionType#getPotionEffects()} instead
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
public Collection<PotionEffect> getEffects(@NotNull PotionType type, boolean upgraded, boolean extended);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user