bot.creative.setInventorySlot() #2863
Comment-XD
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having difficulties with implementing bot.creative.setInventorySlot(). Can you explain why this code is not working?
My Code:
def set_inventory():
wool_block = Item(35, 1, 1)
print(wool_block)
bot.creative.setInventorySlot(0, wool_block)
The Error I receive:
Exception: Call to 'setInventorySlot' timed out. Increase the timeout by setting the
timeout
keywordBeta Was this translation helpful? Give feedback.
All reactions