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

Fix region equality across multiple region managers. #395

Merged
merged 2 commits into from Mar 2, 2019

Conversation

wizjany
Copy link
Collaborator

@wizjany wizjany commented Mar 1, 2019

It is possible, for example when teleporting between two worlds, that
regions in two different managers are compared. If the regions in each
world have the same name, they would return equal. Removing the equals
override will prevent two different regions from seeming equal even if
they are not.

I've tested that this fixes the expected issue. I'm currently thinking of what side effects might occur as a result of this though. Otherwise this should be fine to merge.

It is possible, for example when teleporting between two worlds, that
regions in two different managers are compared. If the regions in each
world have the same name, they would return equal. Removing the equals
override will prevent two different regions from seeming equal even if
they are not.
@wizjany wizjany merged commit af93530 into master Mar 2, 2019
@wizjany wizjany deleted the fix/region-equality branch March 2, 2019 03:00
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.

None yet

1 participant