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 AbyssalCraft world data capability applying to all objects, not just worlds #244

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

jchung01
Copy link
Contributor

Turns out using AttachCapabilitiesEvent in a mixin caused the <World> generic to be stripped, causing the world data capability to be attached to ALL objects from this event (ItemStack, Entity, etc.). This caused the tweak to take up a lot more memory than necessary, especially as the game ran on (oops).
abyssalcaps
Moved the AbyssalCraft events to its own class to be registered by UT.

@ACGaming ACGaming merged commit 4dac698 into ACGaming:main Jul 28, 2023
1 check passed
@jchung01 jchung01 deleted the ac-better-item-transfer branch January 28, 2024 20:41
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.

2 participants