Skip to content

Rewrite Inventory Handling#5021

Merged
mdcfe merged 33 commits intoEssentialsX:2.xfrom
JRoy:refactor/inventory
Dec 24, 2022
Merged

Rewrite Inventory Handling#5021
mdcfe merged 33 commits intoEssentialsX:2.xfrom
JRoy:refactor/inventory

Conversation

@JRoy
Copy link
Member

@JRoy JRoy commented Jul 31, 2022

there are a LOT of weird inventory stuff going on in EssX.

Fixes #3810
Fixes #4248

maybe more inventory issues that I'm unable to find?

@JRoy JRoy added type: bugfix PRs that fix bugs in EssentialsX. module: main Issues or PRs for the main Essentials module module: protect Issues or PRs for the EssentialsProtect module labels Jul 31, 2022
@JRoy JRoy added this to the 2.20.0 milestone Jul 31, 2022
@JRoy JRoy changed the title Rewrite inventory handling or whatever Rewrite Inventory Handling Aug 19, 2022
@JRoy JRoy marked this pull request as ready for review August 19, 2022 14:05
@JRoy
Copy link
Member Author

JRoy commented Aug 19, 2022

ready for review, needs testing with all commands/features that touch items.

Copy link
Member

@pop4959 pop4959 left a comment

Choose a reason for hiding this comment

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

Just a few notes on initial look-through

@pop4959
Copy link
Member

pop4959 commented Aug 22, 2022

Tested commands: /book, /clearinventory, /condense, /createkit, /enchant, /hat, /item, /itemlore, /itemname, /kit, /powertool, /repair, /sell, /setworth, /skull, /spawnnmob, /unlimited, /worth

Didn't test keep inventory policy or trade/enchant signs yet.

Looks good so far though, didn't find any issues with any commands.

@JRoy JRoy requested a review from pop4959 August 22, 2022 14:50
JRoy added 2 commits October 13, 2022 11:47
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandessentials.java
@pop4959
Copy link
Member

pop4959 commented Oct 15, 2022

Still haven't tested the things above, but assuming those are ok this PR looks good to me

Copy link
Member

@mdcfe mdcfe left a comment

Choose a reason for hiding this comment

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

Looks good, just a couple of things to note.

@mdcfe mdcfe merged commit 6ec4c97 into EssentialsX:2.x Dec 24, 2022
@mdcfe mdcfe deleted the refactor/inventory branch December 24, 2022 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: main Issues or PRs for the main Essentials module module: protect Issues or PRs for the EssentialsProtect module type: bugfix PRs that fix bugs in EssentialsX.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EssentialsX /clear Not Working As Expected /sell hand with the same item in offhand results in error

3 participants