diff --git a/build.gradle.kts b/build.gradle.kts index 6f00616..62ed37e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,7 +60,7 @@ tasks.withType { tasks.named("build") { dependsOn("shadowJar") // プラグインを特定のパスへ自動コピー - val copyFilePath = "M:/TwitterServer/plugins/" // コピー先のフォルダーパス + val copyFilePath = "Z:/minecraft/TwitterServer/plugins/" // コピー先のフォルダーパス val copyFile = File(copyFilePath) if (copyFile.exists() && copyFile.isDirectory) { doFirst { diff --git a/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt b/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt index a659fa0..1b49947 100644 --- a/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt +++ b/src/main/kotlin/com/github/ringoame196_s_mcPlugin/team/TeamMonitorTask.kt @@ -19,7 +19,9 @@ class TeamMonitorTask : BukkitRunnable() { val teamName = TeamManager.getTeamName(player) ?: "${ChatColor.WHITE}参加していません" val message = "${ChatColor.GOLD}[開発用] 参加チーム:$teamName" // アクションバーに表示 - player.spigot().sendMessage(ChatMessageType.ACTION_BAR, *TextComponent.fromLegacyText(message)) + if (!teamName.contains(".")) { + player.spigot().sendMessage(ChatMessageType.ACTION_BAR, *TextComponent.fromLegacyText(message)) + } } private fun teamChangeMessage(player: Player) {