MaLiLib (Forge)

MaLiLib (Forge)

291k Downloads

Unreachable statement

VADemon opened this issue ยท 0 comments

commented

https://github.com/maruohon/malilib/blob/4530b40820eb8de85e10b08211c577ade83f0e31/src/main/java/fi/dy/masa/malilib/render/RenderUtils.java#L458-#L466

Very important. While Chuck Norris can divide by zero, not even he can reach an unreachable statement.

And I'd argue you don't need the check for == 0d anyway, if some function actually sends that in as a parameter, you should fix that function so it doesn't trigger an empty render.