perf: 优化性能

This commit is contained in:
2023-06-02 15:54:41 +08:00
parent 0ca763ebdb
commit 9c5c8e77ff
5 changed files with 2 additions and 10 deletions

View File

@@ -8,10 +8,6 @@ dependencies {
//noinspection VulnerableLibrariesLocal
compileOnly 'org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT'
// https://mvnrepository.com/artifact/io.netty/netty-all
//noinspection GradlePackageUpdate
shade 'io.netty:netty-all:4.1.86.Final'
compileOnly "cn.hamster3.mc.plugin.core:bukkit:${hamster_core_version}"
compileOnly "me.clip:placeholderapi:2.11.2" transitive false
}

View File

@@ -32,7 +32,6 @@ public class HamsterBallPlugin extends JavaPlugin {
logger.info("BallBukkitAPI 已启动.");
} catch (Exception e) {
e.printStackTrace();
sync(Bukkit::shutdown);
}
}