Add Override annotations where appropriate

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-04-28 11:38:01 +10:00
parent c7281b2159
commit bfea9a3269
140 changed files with 1021 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ import org.bukkit.potion.PotionType;
public class CraftPotionBrewer implements PotionBrewer {
private static final Map<PotionType, Collection<PotionEffect>> cache = Maps.newHashMap();
@Override
public Collection<PotionEffect> getEffects(PotionType damage, boolean upgraded, boolean extended) {
if (cache.containsKey(damage))
return cache.get(damage);