Skip to content

Commit

Permalink
🕹️ fixed game eventnode instance check
Browse files Browse the repository at this point in the history
  • Loading branch information
DasLixou committed May 8, 2022
1 parent 5190bf2 commit 83704cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/cc/lixou/stracciatella/game/Game.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class Game {
if (event is PlayerEvent) {
return@type players.contains(event.player)
} else {
return@type this.instance.uniqueId.equals(instance)
return@type this.instance.uniqueId == instance.uniqueId
}
}

Expand Down

0 comments on commit 83704cf

Please sign in to comment.