Creeper da Snek
Plantera
@miningcrack Hey. Comments / discussions are disabled on the Workshop page for LuiAFK Reborn, so I guess I'll report this here.
The Fairy Merchant seems to cause issues with NPC banner drawing, which is causing one of my mods to break the game.
I think it has something to do with the Fairy Merchant not having a head files / not using the
I don't know why you're setting
A log is included below, and I've reproduced this on both stable and preview versions of tModLoader.
Thank you for your time!
The Fairy Merchant seems to cause issues with NPC banner drawing, which is causing one of my mods to break the game.
I think it has something to do with the Fairy Merchant not having a head files / not using the
AutoloadHead
attribute combined with it setting NPC.homeTileX
/homeTileY
. This makes vanilla think the Merchant should have a banner when it shouldn't, and thus break when it tries to look up the Merchant's nonexistent head in TextureAssets.NpcHead
. By itself, it causes a small pause and a silent error when NPC banners are first drawn. With my mod, it deletes all UI.I don't know why you're setting
NPC.homeTileX
and homeTileY
, but I think you'd be able to get around this by using NPCID.Sets.ActsLikeTownNPC
instead. The Example Bone Merchant might also be a good place to look for not-quite Town NPCs like the Fairy Merchant.A log is included below, and I've reproduced this on both stable and preview versions of tModLoader.
Thank you for your time!
Attachments
Last edited: