-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Allow using old ender pearl behavior & apply ender pearl exploit patch #11524
Conversation
When enabled, ender pearls will not load chunks and will save to the world instead of the player. Also changes the exploit config to be default false, as it only makes sense when legacy behavior is enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone else should test it:tm:, but the changes look fine. Bonus points for a telling config name, but I also can't think of one, so that's not a blocker
Config name for what? |
I chose |
Maybe we could have seperate config options for controlling if they are serialized with the player and tick chunks then? |
doing that properly would require much more extensive changes, the behaviors are tightly coupled; I also don't see any utility there |
Ok yeah then i don't have another name either. |
Naming disablePlayerTickedEnderpearls ? encompasses the fact that enderpearls are loaded and ticked, and player owned by default. |
|
As long as enderpearls are never changed again, otherwise you might need a legacyLegacyEnderPearlBehavior. Personally, anything named 'legacy' or 'old' is a code smell in any coding project, unless it clarifies which legacy behaviour it is almost immediately. But it's not the worst thing in the world. |
When enabled, ender pearls will not load chunks and will save to the world instead of the player.
Also changes the exploit config to be default false, as it only makes sense when legacy behavior is enabled.
I didn't bother with a config migration since it won't do anything without legacy behavior enabled.