Off-by-one error in TileEntityElevator.java
credomane opened this issue ยท 2 comments
Assuming the default searchDistance is 20 blocks.
If I set a elevator block at y=20 then another at y=40 then the elevator block will not function.
Looking at the source shows that at line 128 the loop stops one block short of checking the max distance.
"y < Config.elevatorTravelDistance" vs "y <= Config.elevatorTravelDistance".
Obviously I'll look more in to this issue, but for now I trust your judgement and this should be a quick fix for the moment.