fixed crucial bug that prevented you from falling all the way to bedrock
This commit is contained in:
parent
6148166f71
commit
24496d1de7
@ -223,7 +223,7 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||||||
// let's see how far we can fall
|
// let's see how far we can fall
|
||||||
for (int fallHeight = 3; true; fallHeight++) {
|
for (int fallHeight = 3; true; fallHeight++) {
|
||||||
BlockPos onto = dest.down(fallHeight);
|
BlockPos onto = dest.down(fallHeight);
|
||||||
if (onto.getY() <= 0) {
|
if (onto.getY() < 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
IBlockState ontoBlock = BlockStateInterface.get(onto);
|
IBlockState ontoBlock = BlockStateInterface.get(onto);
|
||||||
|
Loading…
Reference in New Issue
Block a user