fix
This commit is contained in:
parent
7a3107be3d
commit
ff56276662
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue