CraftTweaker

CraftTweaker

151M Downloads

CraftTweakerMC#getIItemStackList issues

Darkhax opened this issue ยท 0 comments

commented

The method CraftTweakerMC#getIItemStackList has a few issues.

  • Only supports List input, even though Collection is perfectly valid here.
  • The param name for the input is drops, which makes no sense in this context.
  • The output does a null check on the stack before adding. This should also include a check on isEmpty.