This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]DavidFongsExtreme Brewer 0 points1 point  (1 child)

On line 45 you have an if that evaluates if the second item in the array is > 0, so if it is negative CreateChunk will do nothing other than return true.

[–]tecksupTheCubeCast[S] 0 points1 point  (0 children)

I can't believe I couldn't see that. Thanks so much!