diff --git a/pom.xml b/pom.xml index 6fc3472..c2f4fc7 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.syntaxphoenix.spigot smoothtimber-legacy - 1.27.0 + 1.27.1 SmoothTimber jar diff --git a/src/main/java/com/syntaxphoenix/spigot/smoothtimber/compatibility/mcmmo/McMmo.java b/src/main/java/com/syntaxphoenix/spigot/smoothtimber/compatibility/mcmmo/McMmo.java index 4c0b9e3..b86d4ac 100644 --- a/src/main/java/com/syntaxphoenix/spigot/smoothtimber/compatibility/mcmmo/McMmo.java +++ b/src/main/java/com/syntaxphoenix/spigot/smoothtimber/compatibility/mcmmo/McMmo.java @@ -28,9 +28,9 @@ public void onDisable(final SmoothTimber smoothTimber) throws Exception { private Listener createChopListener(PluginPackage pluginPackage) { try { WoodcuttingManager.class.getMethod("processBonusDropCheck", BlockState.class); - return new McMmoChopListener_v1(); - } catch (NoSuchMethodException | RuntimeException e) { return new McMmoChopListener_v2(pluginPackage.getPlugin()); + } catch (NoSuchMethodException | RuntimeException e) { + return new McMmoChopListener_v1(); } } diff --git a/src/main/java/com/syntaxphoenix/spigot/smoothtimber/version/changer/v1_20xChanger.java b/src/main/java/com/syntaxphoenix/spigot/smoothtimber/version/changer/v1_20xChanger.java index 4fbdd09..f1c0e05 100644 --- a/src/main/java/com/syntaxphoenix/spigot/smoothtimber/version/changer/v1_20xChanger.java +++ b/src/main/java/com/syntaxphoenix/spigot/smoothtimber/version/changer/v1_20xChanger.java @@ -26,6 +26,11 @@ "1.20.2", "1.20.3", "1.20.4", + "1.20.5", + "1.20.6", + "1.21.0", + "1.21.1", + "1.21.2", }) public final class v1_20xChanger implements VersionChanger {