Skript icon indicating copy to clipboard operation
Skript copied to clipboard

ExprBlocks - BlockLineIterator

Open Absolutionism opened this issue 1 year ago • 1 comments

Description

This PR aims to fix the stack trace of using the blocks between %loc% and %loc% if starting location is above max height limit. Starting off with my initial testing, the same stack trace occurred when below minimum height limit as well.

This issue was caused by the fitInWorld function. As it was clamping the starting location to min/max height limit thus making the BlockIterator not able to reach its goal. Personally, I see no point in using this function, as even though it would restrict the starting point to the limit, if you were to get 10 blocks above it, it would still go into the void. Ultimately leading me to not use it anymore.


Target Minecraft Versions: any Requirements: none Related Issues: #6437

Absolutionism avatar Sep 09 '24 09:09 Absolutionism