Skip to content

Commit

Permalink
修复指令重载问题
Browse files Browse the repository at this point in the history
  • Loading branch information
YsGqHY committed Jul 30, 2024
1 parent 3f32202 commit 60d1eac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
`java-library`
`maven-publish`
id("io.izzel.taboolib") version "1.56"
id("org.jetbrains.kotlin.jvm") version "1.5.10"
id("io.izzel.taboolib") version "1.60"
id("org.jetbrains.kotlin.jvm") version "1.8.22"
}

taboolib {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group=kim.hhhhhy.regions
version=1.0.6
version=1.0.7
5 changes: 4 additions & 1 deletion src/main/kotlin/kim/hhhhhy/regions/command/MainCommand.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package kim.hhhhhy.regions.command

import kim.hhhhhy.regions.RegionActionsLite
import kim.hhhhhy.regions.data.AreaSettings
import kim.hhhhhy.regions.data.ConfigSettings
import org.bukkit.command.CommandSender
import taboolib.common.platform.command.CommandBody
import taboolib.common.platform.command.CommandHeader
Expand All @@ -15,7 +17,8 @@ object MainCommand {
@CommandBody(permission = "regionactions.command.reload")
val reload = subCommand {
execute<CommandSender> { sender, _, _->
RegionActionsLite.reload()
AreaSettings.areasConfig.reload()
ConfigSettings.config.reload()
sender.sendInfo("plugin-reload")
}
}
Expand Down

0 comments on commit 60d1eac

Please sign in to comment.