Skip to content

Commit

Permalink
# 1.1
Browse files Browse the repository at this point in the history
* 修复最大时间异常的问题(在1.0导入过歌单请重新导入。)
  • Loading branch information
RealHeart committed Jul 30, 2020
1 parent 7a47f80 commit ba4c038
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.1 | 2020-07-30
* 修复最大时间异常的问题(在1.0导入过歌单请重新导入。)

# 1.0 | 2020-07-30
* 网易云音乐全面更换为私有API(希望服务器没事.)
* 删除QQ音乐搜索源。
Expand Down
1 change: 1 addition & 0 deletions src/cn/iqianye/MinecraftPlugins/ZMusic/Music/PlayList.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public static void importPlayList(String url, Player player) {
for (JsonElement jsonElement : songList) {
String songName = jsonElement.getAsJsonObject().get("name").getAsString();
int songTime = jsonElement.getAsJsonObject().get("dt").getAsInt();
songTime = songTime / 1000;
JsonArray ar = jsonElement.getAsJsonObject().get("ar").getAsJsonArray();
String singer = "";
for (JsonElement j : ar) {
Expand Down
4 changes: 2 additions & 2 deletions src/cn/iqianye/MinecraftPlugins/ZMusic/Other/Val.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cn.iqianye.MinecraftPlugins.ZMusic.Other;

public class Val {
public static String thisVer = "1.0";
public static int thisVerCode = 202007300;
public static String thisVer = "1.1";
public static int thisVerCode = 202007301;
public static boolean isLatest = true;
public static String updateLog;
public static String latestVer;
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ZMusic
main: cn.iqianye.MinecraftPlugins.ZMusic.Main
version: 1.0
version: 1.1
author: 真心
description: 真心音乐系统
depend:
Expand Down

0 comments on commit ba4c038

Please sign in to comment.