jaredlll08 / ModTweaker

ModTweaker is an addon for CraftTweaker, which provides Integration for an amount of mods.
MIT License
68 stars 63 forks source link

Problem with custom liquid potion recipes #671

Closed mathwiz617 closed 6 years ago

mathwiz617 commented 6 years ago

Issue Description:

When trying to remove the Thermal Expansion Imbuer recipe for basic healing potions, my script threw an error, saying there was an invalid character that the parser couldn't handle.

What happens:

An error is thrown, citing the " character.

What you expected to happen:

The recipe should be removed.

Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):

https://pastebin.com/F2tLaadk

Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):

https://pastebin.com/psTkWnNW


Affected Versions (Do not use "latest"):

Your most recent log file where the issue was present:

https://pastebin.com/psTkWnNW

mathwiz617 commented 6 years ago

This happens with all the ".withTag({Potion: "minecraft:[potionName]})" declarations that I try, not just liquid awkward potion.

mathwiz617 commented 6 years ago

Hmm... I tried typing this in by hand instead of copy/pasting, and got an entirely different error - there's an invalid character at the end of my file. This may be a text editor problem, not a parser problem.

EDIT: Definitely an editor problem - it was replacing regular quote marks with curly quote marks, and that's what the parser was getting hung up on. Also, I changed the encoding, and the invalid character is gone.

mathwiz617 commented 6 years ago

Closing this - it's a Mac issue.