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

Fix ME Chest accepting Cells with items into its internal inventory #681

Merged
merged 5 commits into from
Feb 28, 2025

Conversation

54M44R
Copy link

@54M44R 54M44R commented Feb 24, 2025

Fixes GTNewHorizons/GT-New-Horizons-Modpack/issues/16477

The bug was introduced in PR #383. Cells are now appropriately handled when pushing into the ME Chest by reusing WrapperMCISidedInventory

To be clear, this fix can be bypassed if a player uses other means of transporting items, such as hoppers. Modern versions of AE2 have the same issue. I believe fixing all instances would require a separate patch on every item transportation mod which is unrealistic. I had a hopper fix during testing, but this resulted in ~ 5x worse performance than without it

More methods use these Overrides than the currently present ones in AdaptorMEChest
The Wrapper class is specifically designed for blocks that have designated slots for each side
@Caedis Caedis requested a review from a team February 24, 2025 09:29
Copy link
Member

@serenibyss serenibyss left a comment

Choose a reason for hiding this comment

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

Overall looks good, just one small comment

@Dream-Master Dream-Master requested a review from a team February 27, 2025 09:12
@serenibyss serenibyss merged commit b1b1164 into GTNewHorizons:master Feb 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ME Chest has hidden 2. Inventory Slot
3 participants