diff --git a/scripts/tag_release.sh b/scripts/tag_release.sh index 9798ee3..5881606 100644 --- a/scripts/tag_release.sh +++ b/scripts/tag_release.sh @@ -14,7 +14,7 @@ git add . git commit -S -m "Bump version to $version for release" git tag -s "$version" -m "Release $version" -mvn clean package -am -P all +mvn clean package -am mvn versions:set -DnewVersion="$snapshot" diff --git a/src/test/java/com/github/jikoo/enchantableblocks/listener/TableEnchanterTest.java b/src/test/java/com/github/jikoo/enchantableblocks/listener/TableEnchanterTest.java index 092a5f7..585b1fb 100644 --- a/src/test/java/com/github/jikoo/enchantableblocks/listener/TableEnchanterTest.java +++ b/src/test/java/com/github/jikoo/enchantableblocks/listener/TableEnchanterTest.java @@ -15,7 +15,6 @@ import com.github.jikoo.enchantableblocks.registry.EnchantableBlockRegistry; import com.github.jikoo.enchantableblocks.util.enchant.EnchantOperation; import com.github.jikoo.enchantableblocks.util.enchant.EnchantmentHelper; -import com.github.jikoo.enchantableblocks.util.logging.PatternCountHandler; import com.github.jikoo.planarwrappers.util.StringConverters; import java.util.Arrays; import java.util.EnumSet; @@ -50,7 +49,6 @@ class TableEnchanterTest { private ServerMock server; private Plugin plugin; - private PatternCountHandler cannotObtainSeed; private EnchantableBlockRegistry registry; private Player player; private TableEnchanter listener; @@ -72,8 +70,6 @@ public boolean hasPermission(String name) { } }; plugin = MockBukkit.createMockPlugin("EnchantableBlocks"); - cannotObtainSeed = new PatternCountHandler("Cannot obtain seed"); - plugin.getLogger().addHandler(cannotObtainSeed); registry = new EnchantableBlockRegistry(plugin); // Add dummy registrations for valid and invalid materials.