Fabric API

Fabric API

106M Downloads

Fabric Object Builder API's Testmod crashes on Windows due it trying to make a file with an invalid character in its name

AnAwesomGuy opened this issue ยท 0 comments

commented

It seems like it is caused by this line which creates an Identifier, then converts it toString(), which contains a colon (:) which is an invalid character on Windows (it seems to work on any other OS).
A quick fix would be to just replace that bit with a direct String constant like "fabric-object-builder-api-v1-testmod/test_state" or fabric-object-builder-api-v1-testmod_test_state

here is the crash report