Correct typo from max world height of 265 to 256

This commit is contained in:
libraryaddict 2020-11-17 21:06:03 +13:00 committed by GitHub
parent 164907a47a
commit 2ccc234608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2559,7 +2559,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
int zv = (int) (z.getValue() * unit.getZ() + zero2.getZ());
BlockState get;
if (yv >= 0 && yv < 265) {
if (yv >= 0 && yv < 256) {
get = getBlock(xv, yv, zv);
} else {
get = BlockTypes.AIR.getDefaultState();