packtest icon indicating copy to clipboard operation
packtest copied to clipboard

Run tests only inside the worldborder

Open aksiome opened this issue 1 year ago • 2 comments

The goal of this PR is to fix #5 !

aksiome avatar Mar 25 '24 22:03 aksiome

Is it still possible for the tests to spill out into the world border even though the start pos was inside the world border?

misode avatar Mar 25 '24 23:03 misode

Sadly yes, this only ensure that the starting position is inside the worldborder. I can try to take into account the size needed to run the tests but i'm not really sure what should happen if the worldborder is too small. Maybe just throw an error and abort the tests?

aksiome avatar Mar 26 '24 10:03 aksiome

There might still be some edge cases because the tests could be started at the edge of the world border and go outside it, but I'll merge this anyways.

misode avatar Sep 27 '24 16:09 misode