TwitchSpawn

TwitchSpawn

411k Downloads

[Improvement] Item parsing error lacking detailed information

Flemmli97 opened this issue ยท 4 comments

commented

Describe the bug
DROP action only allows vanilla item values. This is cause net.minecraft.command.arguments.ItemParser looks in the vanilla item registry and not the forge one.

To Reproduce
Add in a modded item to a DROP action and it wont load.

Version (please complete the following information):

  • OS: MAC
  • TwitchSpawn Version: 0.4.9
  • Forge Version: 1.12.2-14.23.5.2847
commented

It works with modded items as well. Could you share your TSL rule as well? You might be having a malformed item string in it

commented

nvm. it worked. item name was wrong

commented

But I believe more detailed info on which part of the item string is wrong could be so handy! Also I believe someone in the Discord server also made me realize that. So iโ€™m reopening the issue but changing the topic of it! ๐ŸŽ‰

commented

With 55df8d6 invalid item parsing now provides more information, instead of a generic invalid item message ๐ŸŽ‰