mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-21 20:56:45 +01:00
Optimize blast mining blacklist
This commit is contained in:
parent
bda5424a4c
commit
486dc1344d
@ -31,13 +31,14 @@ import org.jetbrains.annotations.NotNull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import static com.gmail.nossr50.util.ItemUtils.isPickaxe;
|
||||
|
||||
public class MiningManager extends SkillManager {
|
||||
|
||||
public static final String BUDDING_AMETHYST = "budding_amethyst";
|
||||
public static final Collection<Material> BLAST_MINING_BLACKLIST = List.of(Material.SPAWNER);
|
||||
public static final Collection<Material> BLAST_MINING_BLACKLIST = Set.of(Material.SPAWNER);
|
||||
|
||||
public MiningManager(@NotNull McMMOPlayer mcMMOPlayer) {
|
||||
super(mcMMOPlayer, PrimarySkillType.MINING);
|
||||
|
Loading…
Reference in New Issue
Block a user