CC: Tweaked

CC: Tweaked

57M Downloads

`cc.strings.wrap` Hangs Program If 0 Width

MikaylaFischler opened this issue ยท 0 comments

commented

Minecraft Version

1.20.1

Version

1.109.3

Details

Submitted the issue before I was done typing accidentally, whoops. The wrap function in cc.strings causes a too long without yielding if you pass 0 to it. One of my programs did this accidentally in development. Expected behavior would be either an assertion, return the string as provided, or return an empty string.

image