Catphiish Posted August 10, 2015 Share Posted August 10, 2015 Hello I made a mod that adds a character to DST. He spawns with a sword, the sword and everything works but when I leave the server the sword drops on the ground and the player has to pick it back up when they rejoin. I have checked the code with some of the other mods with custom weapons and I cant see anything wrong with it. Please help. Thanks linksword.luamodmain.lualink.lua Link to comment Share on other sites More sharing options...
DarkXero Posted August 10, 2015 Share Posted August 10, 2015 @Catphiish, it's because of this in linksword.lua:inst:AddTag("irreplaceable")This makes it so nobody can take away the sword from the world. Including Link. Link to comment Share on other sites More sharing options...
Catphiish Posted August 11, 2015 Author Share Posted August 11, 2015 Thanks man it works fine now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now