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

1.20.2 + 1.20.3 support #626

Merged
merged 6 commits into from
Feb 8, 2024
Merged

1.20.2 + 1.20.3 support #626

merged 6 commits into from
Feb 8, 2024

Conversation

mircokroon
Copy link
Owner

Third attempt at a PR because Git is hard (apparently)

Changes by @nnnlog

@@ -73,16 +70,71 @@ public void addEntity(DataTypeProvider provider, Function<DataTypeProvider, Enti
});

if (ent instanceof Villager villager) {
WorldManager.getInstance().getVillagerManager().loadPreviousTradeAt(villager);
Copy link
Contributor

Choose a reason for hiding this comment

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

This unfortunately breaks villager trades saving when the villager is reloaded.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I guess this can be fixed later, I think most people aren't too concerned with villagers anyway. Maybe someone else has time to go over it and submit a PR for it.

@mircokroon mircokroon changed the title 1.20.2 support 1.20.2 + 1.20.3 support Feb 8, 2024
@mircokroon mircokroon merged commit 954977d into master Feb 8, 2024
2 checks passed
@mircokroon mircokroon deleted the 1_20_2_support branch February 8, 2024 22:15
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.

3 participants