This commit is contained in:
Color_yr committed 2022-06-10 22:35:09 +08:00
1 parent d7f73321d3
commit c005137765
3 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ plugins {
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '6.1.0'
}
version = "2.14.9"
version = "2.14.10"
repositories {
mavenCentral()
+1 -1
View File
@@ -26,7 +26,7 @@ import java.util.Map;
public class AllMusic {
public static final String channel = "allmusic:channel";
public static final String version = "2.14.9";
public static final String version = "2.14.10";
private static final Map<String, SearchPage> searchSave = new HashMap<>();
private static final List<String> votePlayer = new ArrayList<>();
@@ -31,14 +31,14 @@ public class SideBukkit implements ISide {
} catch (Exception e1) {
e1.printStackTrace();
}
if (ByteBufC != null) {
try {
arrayM = ByteBufC.getMethod("array");
writeByteM = ByteBufC.getMethod("writeByte", int.class);
writeBytesM = ByteBufC.getMethod("writeBytes", byte[].class);
} catch (NoSuchMethodException e1) {
e1.printStackTrace();
}
}
if (ByteBufC != null) {
try {
arrayM = ByteBufC.getMethod("array");
writeByteM = ByteBufC.getMethod("writeByte", int.class);
writeBytesM = ByteBufC.getMethod("writeBytes", byte[].class);
} catch (NoSuchMethodException e1) {
e1.printStackTrace();
}
}
try {
@@ -49,12 +49,12 @@ public class SideBukkit implements ISide {
} catch (Exception e1) {
e1.printStackTrace();
}
if (UnpooledC != null) {
try {
bufferM = UnpooledC.getMethod("buffer", int.class);
} catch (Exception e1) {
e1.printStackTrace();
}
}
if (UnpooledC != null) {
try {
bufferM = UnpooledC.getMethod("buffer", int.class);
} catch (Exception e1) {
e1.printStackTrace();
}
}
}