Merge pull request #751 from libraryaddict/main

Correct typo from max world height of 265 to 256
This commit is contained in:
NotMyFault 2020-11-17 09:14:38 +01:00 committed by GitHub
commit fbc972f89c
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();