Skip to content

Commit

Permalink
bug fix: move player to default channel when join
Browse files Browse the repository at this point in the history
  • Loading branch information
nutyworks committed Apr 6, 2020
1 parent 2168263 commit 08806f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class PlayerManager : Listener {
@EventHandler
private fun onPlayerJoin(event: PlayerJoinEvent) {
val uuid = event.player.uniqueId
moveChannel(uuid, "default", true)
playerChannel[uuid] ?: moveChannel(uuid, "default", true)
FiNoteBlockPlugin.instance.playerManager.playerSetting[uuid] = UserSettings(uuid)
}

Expand Down

0 comments on commit 08806f5

Please sign in to comment.