Closed friendlyhj closed 4 years ago
Seems it's preprocessor not listed in wiki. I'll add them soon.
Added all preprocessors at https://github.com/CraftTweaker/CraftTweaker/tree/1.12/CraftTweaker2-API/src/main/java/crafttweaker/preprocessor and updated v0.1.39
.
Great. But I don't know why, the IgnoreBracketErrorPreprocessor is called by #ignoreBracketErrors
, like the wiki said. You missed an "s".
@friendlyhj I deleted the s
because it doesn't have s
in code. I think it's about the wiki which had a mistake.
https://github.com/CraftTweaker/CraftTweaker/blob/d58bf4b022be74eb9c2799e76c81360ea7fdb6f9/CraftTweaker2-API/src/main/java/crafttweaker/preprocessor/IgnoreBracketErrorPreprocessor.java#L14
Yes, I know that. But my test tells me, the s
is needed.
So the code has a mistake, the wiki is right. That's pretty strange.
Anyway, the new preprocessors don't have blue highlight.
hmm, seems there're some other problems.
Updated v0.1.40, fixed highlight and some minor bugs.
But the preprocessor list still don't have the s
.
I think you'd better add the s
. Extra letters don't matter, but the missing ones will cause problem.
hmm, seems i misunderstood what it means Should be fixed now.
Putting the
#ikwid
preprocessor on a script file will make it that Logger warnings aren't printed to the player chat#sideonly client
and#sideonly server
#disable_search_tree
will disable recipe tree recalculation which may speed up game loading.Putting the
#profile
preprocessor on a script file will profile the script actions