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

Humphead Parrotfish not spawning #6

Open
RavanCraft opened this issue Aug 26, 2021 · 1 comment
Open

Humphead Parrotfish not spawning #6

RavanCraft opened this issue Aug 26, 2021 · 1 comment

Comments

@RavanCraft
Copy link

I'm currently playing around with Unnamed Animal Mod as I want to make a showcase vid and can't find Humphead Parrotfish. After looking through the code for a bit I found the following in the checkFishSpawnRules function of the HumpheadParrotfishEntity class:

worldIn.getLevelData().getDayTime() < 12000 && worldIn.getLevelData().getDayTime() > 24000

As there is no number smaller than 12000 and bigger than 24000 that would mean the Humphead Parrotfish will never spawn.

To me that looks fishy (pun intended), but maybe I'm overlooking something.

@Coda1552
Copy link
Member

Oh boy. I had this problem in game and fixed it, but must have reverted my commit. My bad, I'll try to fix it soon!

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

No branches or pull requests

2 participants