How do I get my NPC back into the correct world?

I joined my brother's world because we were trading, and while I was there, my Arms Dealer NPC spawned into his world. How can I get him back into my world?
Best Answer
NPCs are not generated based on character, they're generated based on world. It's not "your" Arms Dealer, it's the Arms Dealer for your brother's world, no matter who caused the conditions to be fulfilled. You can spawn an Arms Dealer (and any other NPC) in as many worlds as you want, as long as the world has sufficient housing and all conditions for the NPC spawning are fulfilled.
Pictures about "How do I get my NPC back into the correct world?"



How do I get my guide back in Terraria?
If an NPC is killed, they will respawn after a delay, as long as a suitable vacant house is still available. If the NPC has an inventory or population requirement for their initial spawn (e.g. the 50 silver for the Merchant), that has to be met again for the respawn.Can you revive NPCs Terraria?
A killed NPC will respawn the following day and move back into its house (provided it still meets the requirements). So as long as your guide still has a house he will respawn next day. Day begins at 4:30 AM but they can respawn at any time.Can you respawn NPCs?
There's three reasons why an NPC might not respawn: They don't have appropriate housing. Their spawn conditions aren't met anymore. There's a goblin invasion going on.Elden Ring HOW TO REVIVE DEAD NPC'S! How to Reset NPC Hostility for Elden Ring Characters Like Varre
More answers regarding how do I get my NPC back into the correct world?
Answer 2
Spawning NPCs into your world
Once the NPC conditions are met in a world, and there is a valid house for the NPC, the NPC will spawn in that world. To have the same NPC in another world, you need to ensure the conditions are met in that world, too.
Spawning the Arms Dealer
The Arms Dealer spawns, at random, when you have either a gun or bullets in your inventory. Having them in storage does not count, and some items do not qualify, so check the links for a list.
According to the Terraria Wikia,
The Arms Dealer may now spawn after defeating 50 Hellbats even if you do not have a gun in your inventory
Housing the Arms Dealer
Past that, you will want to ensure you have valid housing, for the Arms Dealer to move into. If all of this has been met, all you have to do is wait. Jump into your world, and play around for a bit, until you get the notification that "The Arms Dealer has arrived".
Still not working?
Here are some things to try, if it feels like you have waited for ages, and the Arms Dealer still hasn't shown up.
- Ensure a different NPC has not moved into the house. Go into the housing menu, and select "show flags". An NPC flag will appear inside each house, displaying the NPC that lives there. If your house does not display a flag, it is free.
- Ensure the house has met the basic housing requirements. Move inside, and select "test housing" from the housing menu. You will receive a confirmation message that the house is suitable to live in.
- Ensure your gun/bullet is in your immediate inventory. It won't count if they are in a chest, piggy bank, safe, or other storage device.
- Ensure the gun you are holding is on this list. According to the Terraria Wikia, magic guns do not qualify.
- Ensure the bullets you are holding are on this list. Not all items classified as ammunition count as being a bullet.
Answer 3
You should be able to spawn the Arms Dealer on your world, also. According to the wiki, the conditions require an empty house and at least one bullet-firing gun in your inventory (not in chests). Defeating 50 hellbats also allows the Arms Dealer to respawn, even without a gun in your inventory.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Rachel Claire, Rachel Claire, Rachel Claire, Rachel Claire