This commit is contained in:
Zeshan Aslam 2021-06-08 19:06:30 -04:00
parent b8d5146d2f
commit a9c97c933b
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public class ActionHelper {
if (potionData.getType().getEffectType() != null) {
possibleMaterials.add(potionData.getType().getEffectType().getName() + "_" + name);
}
if (potionMeta.hasCustomEffects()) {
for (PotionEffect potionEffect : potionMeta.getCustomEffects()) {
possibleMaterials.add(potionEffect.getType().getName() + "_" + name);