Skip to content

Commit

Permalink
Fixed broken spectator mode after last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
freundTech committed Apr 13, 2019
1 parent a94b010 commit d2fde6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PlayerListener(private val plugin: OneSlotServer) : Listener {
"A person is already playing. Please wait ${waitLeft.format()}.")
}
}
if (event.result == Result.ALLOWED) {
else if (event.result == Result.ALLOWED) {
plugin.activePlayer = event.player
event.player.loadFromSharedData()

Expand Down

0 comments on commit d2fde6c

Please sign in to comment.