diff --git a/treepuncher/treepuncher.py b/treepuncher/treepuncher.py index 8223d60..3c183b5 100644 --- a/treepuncher/treepuncher.py +++ b/treepuncher/treepuncher.py @@ -152,6 +152,7 @@ class Treepuncher(MinecraftClient): ) async def set_slot(self, slot:int): + self.slot = slot await self.dispatcher.write(PacketHeldItemSlot(self.dispatcher.proto, slotId=slot)) def _register_handlers(self):