Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
Message::broadcastでコンソールにメッセージが2回送られるバグの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed May 31, 2020
1 parent 5367978 commit 69d74ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/kotlin/me/syari/ss/core/message/Message.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package me.syari.ss.core.message

import me.syari.ss.core.Main.Companion.coreLogger
import me.syari.ss.core.Main.Companion.corePlugin
import me.syari.ss.core.code.StringEditor.toColor
import org.bukkit.command.CommandSender
Expand All @@ -14,7 +13,6 @@ object Message {
fun broadcast(message: String) {
val coloredMessage = message.toColor
corePlugin.server.broadcastMessage(coloredMessage)
coreLogger.send(message)
}

/**
Expand Down

0 comments on commit 69d74ff

Please sign in to comment.