djkrose / 7DTD-ScriptingMod

Adds scripting support and other useful functionality to 7 Days To Die dedicated server
19 stars 10 forks source link

Beds replaced by dj-import command still show up on the map #13

Open djkrose opened 7 years ago

djkrose commented 7 years ago

An active bed that gets overwritten by dj-import still shows up as active on the map.

The bed should be correctly unregistered for the owner of it.

StompyNZ commented 6 years ago

not sure if you've covered it yet, but there's also the land claims :)

            if (blockValue.Block.IndexName == "lpblock")
            {
              GameManager.Instance.persistentPlayers.RemoveLandProtectionBlock(new Vector3i(x, y, z));
            }

I'm guessing I need to add the bed removal too ;)