Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.drop all doesn't drop offhand #4175

Closed
2 tasks done
Starmania opened this issue Oct 28, 2023 · 0 comments
Closed
2 tasks done

.drop all doesn't drop offhand #4175

Starmania opened this issue Oct 28, 2023 · 0 comments
Labels
bug Something isn't working.

Comments

@Starmania
Copy link

Describe the bug

The iteration of the inv does not goes on slot -106

// Hotbar and main inv
builder.then(literal("all").executes(context -> drop(player -> {
for (int i = 0; i < player.getInventory().size(); i++) {
InvUtils.drop().slot(i);
}
})));

Steps to reproduce

  1. Get an item in off hand
  2. Do ".drop all"
  3. Item will stay in offhand

Meteor Version

0.5.5-1960

Minecraft Version

1.20.2

Operating System

Windows

Before submitting a bug report

  • This bug wasn't already reported (I have searched bug reports on GitHub).

  • This is a valid bug (I am able to reproduce this on the latest dev build).

@Starmania Starmania added the bug Something isn't working. label Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant