ITEM.Name = "Item"
ITEM.Model = "models/error.mdl"
ITEM.Base = "base_entity"
ITEM.UseSpeed = 1
ITEM.DropSpeed = 1

ITEM.DontNetwork = {
	EntityData = true
}

function ITEM:SaveData(ent)
	self:SetModel(ent:GetModel())
	self:SetData("EntityData", duplicator.CopyEntTable(ent))
end

function ITEM:LoadData(ent)
	local data = self:GetData("EntityData")
	data.Pos = nil
	data.Angle = nil
	duplicator.DoGeneric(ent, data)
	if data.DT then
		timer.Simple(0, function()
			for k, v in pairs(data.DT) do
				ent.dt[k] = v
			end
		end)
	end
end
