mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-27 02:42:56 +00:00
up 修复问题
This commit is contained in:
1 parent
46263df5a5
commit
8ef0b5b5cd
5 files changed
+5
-26
No files matched your search
@@ -83,27 +83,6 @@ public class LyricSave {
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* 因为一些原因,直接 Map.get 会出现歌词匹配速度不太对的问题...
|
||||
* 本方法虽然没有原来的好看,但准度提高并且几乎不会影响服务器
|
||||
*/
|
||||
// public LyricItemObj findLrcObj(Map<Integer, LyricItemObj> map, int time) {
|
||||
// Set set = map.entrySet();
|
||||
// LyricItemObj latestObj = new LyricItemObj("", "");
|
||||
// for (Iterator iter = set.iterator(); iter.hasNext();) {
|
||||
// Map.Entry entry = (Map.Entry) iter.next();
|
||||
// int key = (int) entry.getKey();
|
||||
// if (time == key)
|
||||
// return (LyricItemObj) entry.getValue();
|
||||
// else if (time < key) {
|
||||
// return latestObj;
|
||||
// } else {
|
||||
// latestObj = (LyricItemObj) entry.getValue();
|
||||
// }
|
||||
// }
|
||||
// return latestObj;
|
||||
// }
|
||||
|
||||
public boolean checkTime(int playNow, boolean ktv) {
|
||||
if (lyric == null)
|
||||
return false;
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ dependencies {
|
||||
//implementation "org.apache.commons:commons-dbcp2:2.9.0"
|
||||
//implementation 'mysql:mysql-connector-java:8.0.31'
|
||||
|
||||
compileOnly 'dev.folia:folia-api:1.20-R0.1-SNAPSHOT'
|
||||
compileOnly 'dev.folia:folia-api:1.20.2-R0.1-SNAPSHOT'
|
||||
compileOnly "com.github.MilkBowl:VaultAPI:1.7.1"
|
||||
compileOnly 'me.clip:placeholderapi:2.10.10'
|
||||
//compileOnly 'net.citizensnpcs:citizens-main:2.0.30-SNAPSHOT'
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
name: AllMusic
|
||||
main: coloryr.allmusic.AllMusicFolia
|
||||
author: Color_yr
|
||||
version: 2.18.14
|
||||
version: 2.19.2
|
||||
folia-supported: true
|
||||
softdepend: [PlaceholderAPI, Vault, Essentials, CMI]
|
||||
api-version: 1.19
|
||||
api-version: 1.13
|
||||
|
||||
commands:
|
||||
music:
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ dependencies {
|
||||
|
||||
//implementation 'org.xerial:sqlite-jdbc:3.39.3.0'
|
||||
compile 'com.squareup.okhttp3:okhttp:4.12.0'
|
||||
compile 'com.google.code.gson:gson:2.10'
|
||||
compile 'com.google.code.gson:gson:2.10.1'
|
||||
|
||||
//annotationProcessor 'com.velocitypowered:velocity-api:3.0.0'
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: AllMusic
|
||||
main: coloryr.allmusic.AllMusicBukkit
|
||||
author: Color_yr
|
||||
version: 2.18.14
|
||||
version: 2.19.2
|
||||
softdepend: [PlaceholderAPI, Vault, Essentials, CMI]
|
||||
api-version: 1.13
|
||||
|
||||
|
||||
Reference in new issue
Block a user