Skip to content

Commit

Permalink
feat: add block placed to message in on_block_placed event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Sep 6, 2024
1 parent b4e2f26 commit ce33c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endstone_test/event_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def on_block_break(self, event: BlockBreakEvent):
@event_handler
def on_block_placed(self, event: BlockPlaceEvent):
self._plugin.logger.info(
f"{event.player.name} places a block against {event.block_against} (was {event.block})")
f"{event.player.name} places a {event.block_placed_state} against {event.block_against} (was {event.block})")

@event_handler
def on_thunder_change(self, event: ThunderChangeEvent):
Expand Down

0 comments on commit ce33c22

Please sign in to comment.