Skip to content

Refactor packet hooks to use composition over inheritance #206

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

R00tB33rMan
Copy link

@R00tB33rMan R00tB33rMan commented Jul 17, 2025

This Pull Request ensures LimboAPI can still function with Velocity-CTD. As of a few days ago, I refactored (most) of CTD's code. Most core changes involved implementing finals in pretty much every location Google/Sun checks instructed me to. This resulted in LimboAPI throwing an injection error in three different places. Instead of modifying CTD's logic, I felt it'd be better to utilize composition > inheritances since it better reflects code changes that (could also) be made in regular Velocity, conditionally. I do not anticipate that this pull request is perfect; instead, it is a best-effort attempt.

Attached issue: GemstoneGG/Velocity-CTD#587

@R00tB33rMan R00tB33rMan marked this pull request as draft July 17, 2025 03:53
@R00tB33rMan
Copy link
Author

Does not fully work as intended. Marking as draft until completion.

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.

1 participant