Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change height checks to integrated MC method #601

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shad0wlife
Copy link

This effectively still checks if the target position is 0<=y<256, just as separate checks for 0 and world.getHeight() would do.
But by using this, mods like CubicChunks which modify the world's height limits can change the result of the world.isOutsideBuildHeight() for easy compatibility.

This effectively still checks if its 0<=y<256, just as separate checks for 0 and world.getHeight() would do. But by using this, mods like CubicChunks which modify the height limits can change the result of the world.isOutsideBuildHeight() for easy compatibility.
@vico93
Copy link

vico93 commented Oct 30, 2019

Could make a copy of this PR for CC:Tweaked too (if this bugfix already wasnt added there)?

@SquidDev
Copy link
Contributor

CC:T should have these patches already. That said, I've never actually tested whether it's sufficient to ensure compat with CubicChunks.

@Shad0wlife
Copy link
Author

Shad0wlife commented Nov 1, 2019

You are right, thank you. I did not know about CC:Tweaked though, is there any web presence other than your github? When looking for the current version of CC, I did not find anything about it either.

EDIT: Ok, found it on Curseforge now that I knew where to look. I hope it gets known better!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants