help i cannot math into number

This commit is contained in:
Leijurv 2018-09-12 16:40:27 -07:00
parent 796be3da79
commit 315c1bf63c
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -128,7 +128,7 @@ public final class CachedChunk implements IBlockTypeAccess {
return state; return state;
} }
PathingBlockType type = getType(x, y, z); PathingBlockType type = getType(x, y, z);
if (type == PathingBlockType.SOLID && y == 128 && mc.player.dimension == -1) { if (type == PathingBlockType.SOLID && y == 127 && mc.player.dimension == -1) {
return Blocks.BEDROCK.getDefaultState(); return Blocks.BEDROCK.getDefaultState();
} }
return ChunkPacker.pathingTypeToBlock(type); return ChunkPacker.pathingTypeToBlock(type);