Skip to content

Commit 2fde46f

Browse files
Merge pull request #190 from Pythonic-Rainbow/patch-1
Fix versus trophies in event_example.py
2 parents e91ce5e + 24aa72f commit 2fde46f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/events_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async def on_player_trophy_change(old_player, new_player):
8787
@coc.PlayerEvents.versus_trophies()
8888
async def on_player_versus_trophy_change(old_player, new_player):
8989
log.info(
90-
f"{new_player} versus trophies changed from {old_player.trophies} to {new_player.trophies}")
90+
f"{new_player} versus trophies changed from {old_player.versus_trophies} to {new_player.versus_trophies}")
9191

9292

9393
"""Client Events"""

0 commit comments

Comments
 (0)