Skip to content

Commit 3aaf187

Browse files
authored
Merge pull request #505 from EmptyIrony/dev/6.2.0
在服务器关闭的时候不通知其他插件接管LightInjector
2 parents 953b1be + 0a63062 commit 3aaf187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/bukkit-nms/src/main/kotlin/taboolib/module/nms/ProtocolHandler.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ object ProtocolHandler : OpenListener {
140140
*/
141141
@Awake(LifeCycle.DISABLE)
142142
private fun onDisable() {
143-
if (TabooLib.isStopped()) {
143+
if (TabooLib.isStopped() || !isBukkitServerRunning) {
144144
return
145145
}
146146
if (instance != null) {

0 commit comments

Comments
 (0)