Skip to content

Commit

Permalink
删除自动开启awt的headless模式
Browse files Browse the repository at this point in the history
  • Loading branch information
Colter23 committed Feb 6, 2022
1 parent 983422f commit 7e07b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "top.colter"
version = "2.1.3"
version = "2.1.4"

repositories {
mavenLocal()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object PluginMain : KotlinPlugin(
JvmPluginDescription(
id = "top.colter.bilibili-dynamic-mirai-plugin",
name = "BilibiliDynamic",
version = "2.1.3"
version = "2.1.4"
) {
author("Colter")
info(
Expand All @@ -37,7 +37,6 @@ object PluginMain : KotlinPlugin(
val gwp = PermissionId(PluginMain.description.id,"live.atall")

override fun onEnable() {
System.setProperty("java.awt.headless", "true")
PermissionService.INSTANCE.register(gwp,"直播At全体")

BiliSubscribeData.reload()
Expand Down

0 comments on commit 7e07b61

Please sign in to comment.