Skip to content

Add support for ShreddedPaper's lazy packet execution#3592

Merged
dmulloy2 merged 1 commit intodmulloy2:masterfrom
mcevent-ru:pull-request
Feb 2, 2026
Merged

Add support for ShreddedPaper's lazy packet execution#3592
dmulloy2 merged 1 commit intodmulloy2:masterfrom
mcevent-ru:pull-request

Conversation

@coolomet
Copy link
Copy Markdown
Contributor

ShreddedPaper is a relatively new multithreaded fork of Purpur (imho it's better than Folia).

The problem: ShreddedPaper has an optimization called optimizations.lazy-execute-when-not-flushing in shreddedpaper.yml. When enabled, everything breaks because ProtocolLib's NettyEventLoopProxy class does not contain the required lazyExecute method (the server tries to cast event loop to AbstractEventLoop when sending packets).

The solution: This small patch fixes the issue by making NettyEventLoopProxy extend AbstractEventLoop and overriding the lazyExecute method.

@dmulloy2 dmulloy2 merged commit f606cc9 into dmulloy2:master Feb 2, 2026
3 checks 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.

2 participants