Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.

Add offhand check to logic#55

Merged
wingzero54 merged 2 commits intoCivMC:masterfrom
Diet-Cola:easymode-fix
Oct 10, 2022
Merged

Add offhand check to logic#55
wingzero54 merged 2 commits intoCivMC:masterfrom
Diet-Cola:easymode-fix

Conversation

@Diet-Cola
Copy link
Copy Markdown

No description provided.

ItemMap playerItems = new ItemMap(player.getInventory());
if (player.getInventory().getItemInOffHand() != null) {
playerItems.addItemStack(player.getInventory().getItemInOffHand());
}
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was removed since it was doubling up the available amount when debugging

@wingzero54 wingzero54 merged commit 60bf977 into CivMC:master Oct 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants