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

Remove FishData #6752

Merged
merged 3 commits into from
Jun 1, 2024
Merged

Remove FishData #6752

merged 3 commits into from
Jun 1, 2024

Conversation

sovdeeth
Copy link
Member

@sovdeeth sovdeeth commented Jun 1, 2024

Description

FishData was a bit of a black sheep in the family, where it was in charge of handling multiple classes instead of just one class with variants. It also didn't work at all. This PR removes it, replacing it with a supertype data. This means all the spawning is now part of the already-registered simple datas (or TropicalFishData), which all work. It maintains the comparability of fish, but means that you can't spawn a random fish with spawn a fish. Given that this was broken prior to this PR, I don't think it's much of an issue. It also follows the same behavior as spawn a mob.


Target Minecraft Versions: any
Requirements: none
Related Issues: #6707

@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jun 1, 2024
Copy link
Member

@Moderocky Moderocky left a comment

Choose a reason for hiding this comment

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

Just reminding me to look at this later.

@sovdeeth
Copy link
Member Author

sovdeeth commented Jun 1, 2024

Just reminding me to look at this later.

look at it now, nerd

@Moderocky Moderocky merged commit 6e3e725 into SkriptLang:dev/patch Jun 1, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants