Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
[Add] Acnient debris
Browse files Browse the repository at this point in the history
- [Change] List -> Set
  • Loading branch information
Siroshun09 authored Jul 23, 2020
1 parent 34f06eb commit bf2c137
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/be/bendem/bukkit/orebroadcast/OreBroadcast.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
import org.jetbrains.annotations.NotNull;

import java.util.Collection;
import java.util.List;
import java.util.Set;

public class OreBroadcast extends JavaPlugin {
private static OreBroadcast instance;

private final List<Material> oreList =
List.of(Material.COAL_ORE, Material.IRON_ORE, Material.GOLD_ORE, Material.REDSTONE_ORE,
Material.LAPIS_ORE, Material.EMERALD_ORE, Material.DIAMOND_ORE, Material.NETHER_QUARTZ_ORE, Material.NETHER_GOLD_ORE);
private final Set<Material> oreList =
Set.of(Material.COAL_ORE, Material.IRON_ORE, Material.GOLD_ORE, Material.REDSTONE_ORE, Material.LAPIS_ORE, Material.EMERALD_ORE,
Material.DIAMOND_ORE, Material.NETHER_QUARTZ_ORE, Material.NETHER_GOLD_ORE, Material.ANCIENT_DEBRIS);

public OreBroadcast() {
instance = this;
Expand Down

0 comments on commit bf2c137

Please sign in to comment.