CraftTweaker

CraftTweaker

151M Downloads

Vargs break on static methods

Darkhax opened this issue ยท 1 comments

commented

Issue Description:

When a static ZenMethod has vargs it will fail in weird and different ways depending on the signature of the method. For example if there are non-varg arguments it will complain about having too many arguments. If there are only varg arguments there will be a compilation failure.


Affected Versions (Do not use "latest"):

  • Minecraft: 1.15.2
  • Forge: 88
  • Crafttweaker: 26
  • Using a server: no
  • If yes, does the client have the exact same scripts? yes

Files/Logs/Stuff

Static Method + Vargs + Other Args
Static Method + Vargs + No other Args
Non-Static Vargs

commented

Closing this since it should be fixed and judging by the private conversations we had, you don't need it any more ๐Ÿ˜›