ItemLoader.UseItemFrame doesn't get called.
See original GitHub issueDescription
ItemLoader.UseItemFrame doesn’t get called if item.useStyle is 1, 2, 3, 4 or 5.
Expected behavior
Called regardless of item.useStyle.
Actual behavior
if (this.inventory[this.selectedItem].useStyle == 5)
{
...
}
else if (ItemLoader.UseItemFrame(this.inventory[this.selectedItem], this))
{
return;
}
Reproduction frequency
Every time.
Versions
tModLoader v0.10.1.3
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Setting the name of an item in an item frame to its count
I have that working but I can't work out the next bit: I'd like to have the item's name be the quantity of...
Read more >Solved - ItemFrame Issue
What I'm looking to do is when someone puts an item in a frame, I want to check what that item is. This...
Read more >Scrapy ItemLoader item combining - python
As you can see in the JSON below, it's combining all items of a type together. How should I be handling this to...
Read more >Item Loaders — Scrapy 2.10.0 documentation
Item Loaders¶. Item Loaders provide a convenient mechanism for populating scraped items. Even though items can be populated directly, Item Loaders provide a ......
Read more >Minecraft 1.16.4: How to make a item frame with a tag - YouTube
Minecraft 1.16.4: How to make a item frame with a tag Become A Member ... How to get an unbreakable weapon in Minecraft...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This one should stay open actually, I looked into it and it does seem a bit odd that ItemLoader.UseItemFrame can’t affect the original useStyles.
Fixed in https://github.com/tModLoader/tModLoader/commit/f850a3b9432a10bfee50c965b7e9476f9186c60c