Skip to content

Commit

Permalink
Try waiting 5 ticks instead
Browse files Browse the repository at this point in the history
  • Loading branch information
grepsedawk committed Jul 29, 2023
1 parent efb4419 commit 7c07d3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/integration/inventory_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ Spectator.describe Rosegold::Bot do
bot.wait_for Rosegold::Clientbound::SetSlot

bot.chat "/give #{bot.username} minecraft:bucket 513"
bot.wait_for Rosegold::Clientbound::SetSlot
bot.wait_tick
bot.wait_ticks 5

expect(bot.inventory.count("bucket")).to eq 513
end
Expand Down

0 comments on commit 7c07d3d

Please sign in to comment.