-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use MixinExtras when possible over ThreadLocal (#129)
* Fix: Always clear fall event If the event hasn't been modified, this can temporarily leak an entity and its world, causing memory usage to inflate on the client. * Port fall event to MixinExtras This removes the need to store a global variable. * Use Share local for fromDimHolder * Use Share local for balmCurrentUseEvent This could've ideally just had `@Cancellable CallbackInfo` but it appears that this has an older Mixin Extras. * Use Share local for getGrowthSpeedBlockState, renamed to farmBlock
- Loading branch information
Showing
4 changed files
with
25 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters