Fix stale entity clean-up and disable static saving

This commit is contained in:
stujones11 2019-04-09 20:20:08 +01:00
parent e6a6e59b5c
commit 668ea2682a

@ -79,10 +79,11 @@ local wield_entity = {
textures = {"wield3d:hand"}, textures = {"wield3d:hand"},
wielder = nil, wielder = nil,
timer = 0, timer = 0,
static_save = false,
} }
function wield_entity:on_activate(staticdata) function wield_entity:on_activate(staticdata)
if staticdata then if staticdata and staticdata ~= "" then
self.wielder = staticdata self.wielder = staticdata
return return
end end