diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Lumberjack.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Lumberjack.java index c596ee2c..8fcb934b 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Lumberjack.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Lumberjack.java @@ -18,7 +18,7 @@ import java.util.List; import java.util.Set; public class Lumberjack extends EcoEnchant { - private final List materials = new ArrayList<>(); + private List materials; public Lumberjack() { super( @@ -28,7 +28,7 @@ public class Lumberjack extends EcoEnchant { @Override protected void postUpdate() { - materials.clear(); + materials = new ArrayList<>(); for (String string : this.getConfig().getStrings(EcoEnchants.CONFIG_LOCATION + "whitelisted-blocks", false)) { Material match = Material.getMaterial(string.toUpperCase()); if (match != null) {