diff --git a/core/AllMusic.java b/core/AllMusic.java index 0ad2222..637c6cd 100644 --- a/core/AllMusic.java +++ b/core/AllMusic.java @@ -36,7 +36,7 @@ public class AllMusic { /** * 插件版本号 */ - public static final String version = "3.2.2"; + public static final String version = "3.2.3"; /** * 配置文件版本号 */ diff --git a/core/command/CommandEX.java b/core/command/CommandEX.java index 9b86050..18f05ca 100644 --- a/core/command/CommandEX.java +++ b/core/command/CommandEX.java @@ -157,6 +157,11 @@ public static void addMusic(Object sender, String name, String[] args) { musicID = Function.getString(args[0], "id=", "&user"); else musicID = Function.getString(args[0], "id=", null); + } else if (args[0].contains("id=") && !args[0].contains("&uct2")) { + if (args[0].contains("&uct2")) + musicID = Function.getString(args[0], "id=", "&uct2"); + else + musicID = Function.getString(args[0], "id=", null); } else if (args[0].contains("song/")) { if (args[0].contains("/?userid")) musicID = Function.getString(args[0], "song/", "/?userid"); diff --git a/version b/version index acf9bf0..06eda28 100644 --- a/version +++ b/version @@ -1 +1 @@ -3.2.2 \ No newline at end of file +3.2.3 \ No newline at end of file