Skip to content

Commit

Permalink
Add fixed_spawn event emission
Browse files Browse the repository at this point in the history
  • Loading branch information
SilkePilon committed Dec 2, 2023
1 parent 25fdefb commit 0359896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lodestone/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ def __start(self):
self.log(
f'Coordinates: {int(self.bot.entity.position.x)}, {int(self.bot.entity.position.y)}, {int(self.bot.entity.position.z)}',
info=True)
self.emit("fixed_spawn", self.bot.entity.position)
self.__load_plugins()

def on(self, event: str):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "lodestone"
version = "0.0.62"
version = "0.0.63"
description = "🤖 Create Minecraft bots with a powerful, stable, and high level Python API."
authors = [
{ name = "Silke Pilon", email = "[email protected]" },
Expand Down

0 comments on commit 0359896

Please sign in to comment.