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

Core: fix pickling plando connections #4054

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

Silvris
Copy link
Collaborator

@Silvris Silvris commented Oct 13, 2024

What is this fixing or adding?

PlandoConnection had a hack that allowed it to be pickled from worlds.generic. #2904 moved PlandoConnection from worlds.generic to Options, so this hack had to be adjusted.

How was this tested?

Ran Webhost locally and generated a Minecraft game featuring a plando connection

If this makes graphical changes, please attach screenshots.

@github-actions github-actions bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Oct 13, 2024
@Exempt-Medic Exempt-Medic added is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. affects: release/blocker Issues/PRs that must be addressed before next official release. labels Oct 15, 2024
Utils.py Outdated Show resolved Hide resolved
Copy link
Contributor

@qwint qwint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found someone's tunic yaml with some plando connections, confirmed it failed to generate on 24242, confirmed it generated (and the plando connections were honored) on localhost of this branch

did not really code review (it looks simple enough but I'm not comfortable with that section of utils)

@Exempt-Medic Exempt-Medic added the waiting-on: author Issue/PR is waiting for feedback or changes from its author. label Oct 17, 2024
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
Copy link
Member

@Exempt-Medic Exempt-Medic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested changes through local webhost and yamls using plando connections

@Exempt-Medic Exempt-Medic added waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: author Issue/PR is waiting for feedback or changes from its author. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Oct 19, 2024
@NewSoupVi NewSoupVi merged commit 049a878 into ArchipelagoMW:main Oct 22, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. affects: release/blocker Issues/PRs that must be addressed before next official release. is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants